-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
derivative annotation restrictions #1543
Comments
Comment by jmattsson on 28 Jul 2014 07:27 UTC Also note that |
Comment by hansolsson on 1 Dec 2014 15:58 UTC |
Modified by hansolsson on 10 Dec 2014 15:40 UTC |
Comment by jmattsson on 10 Dec 2014 15:46 UTC |
Comment by hansolsson on 17 Jul 2015 08:35 UTC |
Reported by stefanv on 25 Jul 2014 18:44 UTC
A
derivative
annotation can specify restrictions of the formorder=N
,noDerivative=V
, andzeroDerivative=V
. The spec states,A function may supply multiple derivative functions subject to different restrictions.
What it does not state is the order in which they are to be considered. Two possibilities come to mind:
The order they are written. The first one that matches is used.
Most restrictive to least restrictive. The first one that matches is used.
Migrated-From: https://trac.modelica.org/Modelica/ticket/1543
The text was updated successfully, but these errors were encountered: