aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/openmath.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/openmath.spad.pamphlet')
-rw-r--r--src/algebra/openmath.spad.pamphlet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/openmath.spad.pamphlet b/src/algebra/openmath.spad.pamphlet
index 2ad57181..c186a2fd 100644
--- a/src/algebra/openmath.spad.pamphlet
+++ b/src/algebra/openmath.spad.pamphlet
@@ -150,7 +150,7 @@ ExpressionToOpenMath(R: Join(OpenMath, OrderedSet, Ring)): with
outputOMArith1(dev, "power", args)
outputOMDefsum(dev: OpenMathDevice, args: List Expression R): Void ==
- #args ^= 5 => error "Unexpected number of arguments to a defsum"
+ #args ~= 5 => error "Unexpected number of arguments to a defsum"
OMputApp(dev)
OMputSymbol(dev, "arith1", "sum")
outputOMIntInterval(dev, args.4, args.5)
@@ -158,7 +158,7 @@ ExpressionToOpenMath(R: Join(OpenMath, OrderedSet, Ring)): with
OMputEndApp(dev)
outputOMDefprod(dev: OpenMathDevice, args: List Expression R): Void ==
- #args ^= 5 => error "Unexpected number of arguments to a defprod"
+ #args ~= 5 => error "Unexpected number of arguments to a defprod"
OMputApp(dev)
OMputSymbol(dev, "arith1", "product")
outputOMIntInterval(dev, args.4, args.5)
@@ -166,7 +166,7 @@ ExpressionToOpenMath(R: Join(OpenMath, OrderedSet, Ring)): with
OMputEndApp(dev)
outputOMDefint(dev: OpenMathDevice, args: List Expression R): Void ==
- #args ^= 5 => error "Unexpected number of arguments to a defint"
+ #args ~= 5 => error "Unexpected number of arguments to a defint"
OMputApp(dev)
OMputSymbol(dev, "calculus1", "defint")
outputOMInterval(dev, args.4, args.5)
@@ -174,7 +174,7 @@ ExpressionToOpenMath(R: Join(OpenMath, OrderedSet, Ring)): with
OMputEndApp(dev)
outputOMInt(dev: OpenMathDevice, args: List Expression R): Void ==
- #args ^= 3 => error "Unexpected number of arguments to a defint"
+ #args ~= 3 => error "Unexpected number of arguments to a defint"
OMputApp(dev)
OMputSymbol(dev, "calculus1", "int")
outputOMLambda(dev, eval(args.1, args.2, args.3), args.3)