aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-10-28 00:34:27 -0700
committerbnewbold <bnewbold@robocracy.org>2016-10-28 00:34:27 -0700
commit48874591724b853b033d7f11a4e78ffa812ef41e (patch)
tree22823553f478f01b0a18ba76c7d4fed53d147eca
parent360a3f82c02fdbe2c2d317e01f01fc69adbf4ab5 (diff)
downloadmodelthing-48874591724b853b033d7f11a4e78ffa812ef41e.tar.gz
modelthing-48874591724b853b033d7f11a4e78ffa812ef41e.zip
add missing semicolons in examples
-rw-r--r--examples/classic_gravitation/model.modelica2
-rw-r--r--examples/lotka_volterra/model.modelica4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/classic_gravitation/model.modelica b/examples/classic_gravitation/model.modelica
index 6504ecf..3abb6e1 100644
--- a/examples/classic_gravitation/model.modelica
+++ b/examples/classic_gravitation/model.modelica
@@ -5,5 +5,5 @@ model ClassicGravitation
Real r "radius";
Real F "force";
equation
- F = (G * m1 * m2) / (r^2)
+ F = (G * m1 * m2) / (r^2);
end ClassicGravitation;
diff --git a/examples/lotka_volterra/model.modelica b/examples/lotka_volterra/model.modelica
index 6f011a2..1ab761e 100644
--- a/examples/lotka_volterra/model.modelica
+++ b/examples/lotka_volterra/model.modelica
@@ -6,6 +6,6 @@ model LotkaVolterra
Real x;
Real y;
equation
- der(x) = (alpha * x) - (beta * x * y)
- der(y) = (delta * x * y) - (gamma * y)
+ der(x) = (alpha * x) - (beta * x * y);
+ der(y) = (delta * x * y) - (gamma * y);
end LotkaVolterra;