Skip to content

Commit

Permalink
Remove redundant line point and apply integer rounding
Browse files Browse the repository at this point in the history
  • Loading branch information
christiankral authored and dietmarw committed Jun 7, 2021
1 parent d9f5bef commit 4b4114f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modelica/Electrical/Analog/Lines/M_OLine.mo
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ public
connect(heatPort, G[dim_vector_lgc].heatPort);
end if;

connect(M.n, refPin) annotation (Line(points={{-1.77636e-15,-80},{-1.77636e-15,
-91},{0,-91},{0,-100}}, color={0,0,255}));
connect(M.n, refPin) annotation (Line(points={{0,-80},{0,-91},{0,-100}}, color={0,0,255}));
annotation (defaultComponentName="segment", Icon(coordinateSystem(preserveAspectRatio=false, extent={{-100,
-100},{100,100}}), graphics={Rectangle(extent={{40,-40},{-40,40}},
lineColor={0,0,255}),
Expand Down

0 comments on commit 4b4114f

Please sign in to comment.