Skip to content

Commit dfbae0f

Browse files
Apply suggestions from code review
Applying to check behavior in tool, I have a really hard time reading the github interface suggestions... Co-authored-by: Hans Olsson <HansOlsson@users.noreply.github.com>
1 parent da02fff commit dfbae0f

1 file changed

Lines changed: 50 additions & 3 deletions

File tree

Modelica/Blocks/Math.mo

Lines changed: 50 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,23 @@ y = <strong>tanh</strong>( u );
16871687
Line(
16881688
points={{-90,-80.3976},{68,-80.3976}},
16891689
color={192,192,192},
1690-
smooth=Smooth.Bezier),
1690+
Line(points={{0,-80.3976},{0,68}}, color={192,192,192}),
1691+
Polygon(
1692+
points={{0,90},{-8,68},{8,68},{0,90}},
1693+
lineColor={192,192,192},
1694+
fillColor={192,192,192},
1695+
fillPattern=FillPattern.Solid),
1696+
Text(
1697+
extent={{-86,50},{-14,2}},
1698+
textColor={192,192,192},
1699+
textString="exp"),
1700+
Line(
1701+
points={{-90,-80.3976},{68,-80.3976}},
1702+
color={192,192,192}),
1703+
Line(points={{-80,-80},{-31,-77.9},{-6.03,-74},{10.9,-68.4},{23.7,-61},
1704+
{34.2,-51.6},{43,-40.3},{50.3,-27.8},{56.7,-13.5},{62.3,2.23},{
1705+
67.1,18.6},{72,38.2},{76,57.6},{80,80}},
1706+
smooth=Smooth.Bezier),
16911707
Polygon(
16921708
points={{90,-80.3976},{68,-72.3976},{68,-88.3976},{90,-80.3976}},
16931709
lineColor={192,192,192},
@@ -1737,7 +1753,23 @@ y = <strong>exp</strong>( u );
17371753
points={{-90,-80.3976},{68,-80.3976}},
17381754
color={192,192,192},
17391755
smooth=Smooth.Bezier),
1740-
Polygon(
1756+
Line(points={{0,-80.3976},{0,68}}, color={192,192,192}),
1757+
Polygon(
1758+
points={{0,90},{-8,68},{8,68},{0,90}},
1759+
lineColor={192,192,192},
1760+
fillColor={192,192,192},
1761+
fillPattern=FillPattern.Solid),
1762+
Text(
1763+
extent={{-86,50},{-14,2}},
1764+
textColor={192,192,192},
1765+
textString="^"),
1766+
Line(
1767+
points={{-90,-80.3976},{68,-80.3976}},
1768+
color={192,192,192}),
1769+
Line(points={{-80,-80},{-31,-77.9},{-6.03,-74},{10.9,-68.4},{23.7,-61},
1770+
{34.2,-51.6},{43,-40.3},{50.3,-27.8},{56.7,-13.5},{62.3,2.23},{
1771+
67.1,18.6},{72,38.2},{76,57.6},{80,80}},
1772+
smooth=Smooth.Bezier),
17411773
points={{90,-80.3976},{68,-72.3976},{68,-88.3976},{90,-80.3976}},
17421774
lineColor={192,192,192},
17431775
fillColor={192,192,192},
@@ -1784,7 +1816,22 @@ y = base <strong>^</strong> u;
17841816
Line(
17851817
points={{-90,-80.3976},{68,-80.3976}},
17861818
color={192,192,192},
1787-
smooth=Smooth.Bezier),
1819+
Line(points={{0,-80.3976},{0,68}}, color={192,192,192}),
1820+
Polygon(
1821+
points={{0,90},{-8,68},{8,68},{0,90}},
1822+
lineColor={192,192,192},
1823+
fillColor={192,192,192},
1824+
fillPattern=FillPattern.Solid),
1825+
Text(
1826+
extent={{-86,50},{-14,2}},
1827+
textColor={192,192,192},
1828+
textString="^"),
1829+
Line(
1830+
points={{-90,-80.3976},{68,-80.3976}},
1831+
color={192,192,192}),
1832+
Line(points={{-80,60},{-70,27.2},{-60,-1.3},{-50,-25.3},{-40,-45},{-30,-60.3},
1833+
{-20,-71.3},{-10,-77.8},{0,-80},{10,-77.8},{20,-71.3},{30,-60.3},{
1834+
40,-45},{50,-25.3},{60,-1.3},{70,27.2},{80,60}}, smooth=Smooth.Bezier),
17881835
Polygon(
17891836
points={{90,-80.3976},{68,-72.3976},{68,-88.3976},{90,-80.3976}},
17901837
lineColor={192,192,192},

0 commit comments

Comments
 (0)