Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Schmitt
waLBerla
Commits
ba38145c
Commit
ba38145c
authored
Apr 11, 2017
by
Arash Partow
Browse files
Minor updates to ExprTk
parent
0bdb6ef7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/math/extern/exprtk.h
View file @
ba38145c
...
...
@@ -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&
d
size, data_t data_ptr = data_t(0), bool dstrct = false)
{
if (size)
if (
d
size)
{
if (0 == data_ptr)
return new control_block(size);
return new control_block(
d
size);
else
return new control_block(size, data_ptr, dstrct);
return new control_block(
d
size, data_ptr, dstrct);
}
else
return new control_block;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment