Closed jan-provaznik closed 1 year ago
The comment is changed for the next release.
Note that unrecognized parameters can trigger an exception or not (just a message) when doing RunParams::checkAndComply. This is managed by REJECT_UNKNOWN_PARAMETERS.
Thanks for the clarification and the fix.
I am also changing the default value for REJECT_UNKNOWN_PARAMETERS in NOMAD 4.3 (now it is true instead of false) so that an exception is triggered for unregistered params.
The comment claims the function AllParameters::readParamLine throws for unknown parameters.
The implementation, however, does not throw anything. Instead, the errors are printed out to the standard error stream.