Skip to content

Commit

Permalink
Print more informative error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Harries committed Jan 28, 2017
1 parent 0cc179a commit 72022fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta/SemiAnalytic.m
Expand Up @@ -182,6 +182,7 @@
Constraint`FindFixedParametersFromConstraint[constraints[[i]]]]];
If[fixedPars =!= {} && fixedPars =!= sortedPars,
Print["Error: all semi-analytic parameters must be set at the same scale."];
Print[" The following parameters are not set: ", Complement[sortedPars, fixedPars]];
Return[False];
];
];
Expand Down

0 comments on commit 72022fb

Please sign in to comment.