summaryrefslogtreecommitdiff
path: root/impl/systems
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-05 16:39:32 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-07-05 16:39:32 +1000
commit0cca9a599a66758cbb5a958b619de3315f26b528 (patch)
treef60785a44497623c1c3ffbf5ae0e111da71c6d54 /impl/systems
parent7b3adda108b2f0d9d5611b184cb525bb9436f7f5 (diff)
Intermediate (broken) commit - smarter strategy
Diffstat (limited to 'impl/systems')
-rw-r--r--impl/systems/example.eqns6
1 files changed, 3 insertions, 3 deletions
diff --git a/impl/systems/example.eqns b/impl/systems/example.eqns
index 9ef3135..71ee74a 100644
--- a/impl/systems/example.eqns
+++ b/impl/systems/example.eqns
@@ -1,3 +1,3 @@
-x1 = max([0,0], min(x1-[1,1], x2))
-x2 = max([0,0], [5,5]+x1, x1)
-x3 = max([0,0], [1,1]+x3, [0,0]+x1)
+x1 = max(0, min(x1-1, x2))
+x2 = max(0, 5+x1, x1)
+x3 = max(0, 1+x3, 0+x1)