Skip to content

Commit

Permalink
Remove Evaluate=true for fixed=false parameter 'n_b'
Browse files Browse the repository at this point in the history
From the brief discussion in modelica/ModelicaSpecification#2951, it seems that `Evaluate = true` on a parameter with `fixed = false` is not expected to have any effect.  Thus I'd like to propose that the `Evaluate = true` is removed in order to get better correspondence between presence of `Evaluate = true` and parameters actually becoming evaluated.
  • Loading branch information
henrikt-ma committed Jun 10, 2021
1 parent b45cba7 commit 8635974
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modelica/Mechanics/MultiBody/Joints/Assemblies/JointRRR.mo
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ model JointRRR
"Axes of revolute joints resolved in frame_a (all axes are parallel to each other)"
annotation (Evaluate=true);
final parameter Real n_b[3](each final unit="1",each fixed=false, start = {0,0,1})
"Axis of revolute joint fixed and resolved in frame_b"
annotation (Evaluate=true);
"Axis of revolute joint fixed and resolved in frame_b";
parameter SI.Position rRod1_ia[3]={1,0,0}
"Vector from origin of frame_a to revolute joint in the middle, resolved in frame_ia"
annotation (Evaluate=true);
Expand Down

0 comments on commit 8635974

Please sign in to comment.