Skip to content

Commit

Permalink
Merge pull request #28972 from DanielYankura/fix_for_28961
Browse files Browse the repository at this point in the history
Modified error message to be more accurate.
  • Loading branch information
GiudGiud authored Oct 31, 2024
2 parents b8db753 + e2dd834 commit e1a4810
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions framework/src/parser/Builder.C
Original file line number Diff line number Diff line change
Expand Up @@ -1780,9 +1780,11 @@ Builder::setScalarComponentParameter(const std::string & full_name,
_errmsg += hit::errormsg(root()->find(full_name),
"wrong number of values in scalar component parameter ",
full_name,
": size ",
": ",
short_name,
" was given ",
vec.size(),
" is not a multiple of ",
" components but should have ",
LIBMESH_DIM) +
"\n";
return;
Expand Down

0 comments on commit e1a4810

Please sign in to comment.