Skip to content

Commit

Permalink
Merge pull request flucoma#393 from flucoma/fix/maxarglisterror
Browse files Browse the repository at this point in the history
wrapper: adding the primary parameters to the max in the error line, fix flucoma#392
  • Loading branch information
tremblap authored and James Bradbury committed Aug 27, 2023
2 parents b29ebe3 + 6f84791 commit c1f832c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/include/FluidMaxWrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ class FluidMaxWrapper
{
object_warn((t_object*) x,
"Too many arguments. Got %d, expect at most %d", ac,
ParamDescType::NumFixedParams + isControlIn<typename Client::Client>);
ParamDescType::NumFixedParams + ParamDescType::NumPrimaryParams + isControlIn<typename Client::Client>);
}

return x;
Expand Down

0 comments on commit c1f832c

Please sign in to comment.