Last active
December 12, 2015 03:28
-
-
Save thorade/4706696 to your computer and use it in GitHub Desktop.
Modelica conditional printing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boolean verbose; | |
... | |
assert(not verbose, "iteration steps " + String(iter), level=AssertionLevel.warning); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
also see http://stackoverflow.com/q/12090962/874701