Dear CS10-Gitlab-users, on Thursday, Feb 3 there will be maintenance. That will lead to a downtime of the CS10-Gitlab-service including Subversion and Mattermost chat from 09:30. This might take the whole day since we don't know how long it is going to take. We are sorry for the inconvenience! Best regards, CS10-Admin-Team

Commit ba38145c authored by Arash Partow's avatar Arash Partow
Browse files

Minor updates to ExprTk

parent 0bdb6ef7
......@@ -4464,14 +4464,14 @@ namespace exprtk
}
}
 
static inline control_block* create(const std::size_t& size, data_t data_ptr = data_t(0), bool dstrct = false)
static inline control_block* create(const std::size_t& dsize, data_t data_ptr = data_t(0), bool dstrct = false)
{
if (size)
if (dsize)
{
if (0 == data_ptr)
return new control_block(size);
return new control_block(dsize);
else
return new control_block(size, data_ptr, dstrct);
return new control_block(dsize, data_ptr, dstrct);
}
else
return new control_block;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment