Permalink
Browse files

Merge pull request #12760 from dschwen/constant_check_12759

Fix parameter validation bug
  • Loading branch information...
permcody committed Jan 24, 2019
2 parents 29442b0 + b215b2a commit cd1fbf4149f93b7302ba24ee40597da7eee4ee72
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/src/utils/FunctionParserUtils.C
@@ -109,7 +109,7 @@ FunctionParserUtils::addFParserConstants(ADFunctionPtr & parser,
{
// check constant vectors
unsigned int nconst = constant_expressions.size();
if (nconst != constant_expressions.size())
if (nconst != constant_names.size())
mooseError("The parameter vectors constant_names and constant_values must have equal length.");

// previously evaluated constant_expressions may be used in following constant_expressions

0 comments on commit cd1fbf4

Please sign in to comment.