Skip to content

Commit

Permalink
Update usage of "noDerivative" (modelica#4024)
Browse files Browse the repository at this point in the history
  • Loading branch information
dietmarw committed Sep 5, 2022
1 parent 5c9a470 commit c704bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModelicaReference/package.mo
Expand Up @@ -726,7 +726,7 @@ function f
input Real x;
input Real y;
output Real z;
annotation(derivative(noDerivative(y = g(x))) = f_der);
annotation(derivative(noDerivative=y) = f_der);
algorithm
...
end f;
Expand Down

0 comments on commit c704bdf

Please sign in to comment.