You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the C++-like syntax; the user needs not study C++ for using FreeFEM, but it helps to guess what is allowed in the language.
and the language goes to great lengths to replicate C++ syntax. Yet, nowhere on an impressive number of PDF pages of documentation it is mentioned that the operators && and || do not use short-circuit evaluation as in C++. One common use case would be to check whether a real variable is zero before division since this results in a runtime error instead of a recoverable infinite value. Therefore I suggest to add a corresponding section in the documentation.
The text was updated successfully, but these errors were encountered:
The manual states
and the language goes to great lengths to replicate C++ syntax. Yet, nowhere on an impressive number of PDF pages of documentation it is mentioned that the operators
&&
and||
do not use short-circuit evaluation as in C++. One common use case would be to check whether a real variable is zero before division since this results in a runtime error instead of a recoverable infinite value. Therefore I suggest to add a corresponding section in the documentation.The text was updated successfully, but these errors were encountered: