-
Notifications
You must be signed in to change notification settings - Fork 61
Conversation
@kabdelhak
kabdelhak
commented
Apr 11, 2018
- BackendEquation.solveEquation
- BackendEquation.solveEquation
CLA assistant check
All committers have signed the CLA.
OpenModelica-Hudson
commented
Apr 11, 2018
The tests run correctly according to OpenModelica_TEST_PULL_REQUEST 2018年04月11日_18-16-17.
lochel
commented
May 8, 2018
Welcome @kabdelhak. Thanks for your first contribution.
Why do you want to hide the error message? Is the function supposed to fail and the test suite doesn't cover that case?
kabdelhak
commented
May 8, 2018
via email
lochel
commented
May 14, 2018
@kabdelhak, @wibraun Do you have a model where this function actually fails? It should obviously fail for algorithms, when equations, and if equations. However, if it is not expected to reach one of these cases, then I would rather keep the error message explicit.
wibraun
commented
May 14, 2018
@lochel It depends on the usage of this function. If one would like to use it as a try and in failing case do something else, than the error message is totally misleading, especially for end-users. So I think it's okay to hide it. In the new removeSimpleEquations module is used like that and therefore I proposed to hide the error messages instead of having them in all related tests.