aboutsummaryrefslogtreecommitdiff
path: root/src/interp/fortcall.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-09-25 20:48:45 +0000
committerdos-reis <gdr@axiomatics.org>2009-09-25 20:48:45 +0000
commit489cfd14dccfcaf7b0ebd41e9d0f8e081a9d1d9f (patch)
tree84a87ab3bdba58fe9fd2975efc829d1ed10b8781 /src/interp/fortcall.boot
parent7704713134cb251be6129f38833930228e09eee2 (diff)
downloadopen-axiom-489cfd14dccfcaf7b0ebd41e9d0f8e081a9d1d9f.tar.gz
* boot/ast.boot (bfMember): Improve a bit.
* boot/tokens.boot: Don't rename 'is' and 'inst'. * boot/parser.boot: Use 'in' instead of 'MEMQ' where approrpriate. * interp/: Likewise.
Diffstat (limited to 'src/interp/fortcall.boot')
-rw-r--r--src/interp/fortcall.boot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/fortcall.boot b/src/interp/fortcall.boot
index d568e729..054e8e84 100644
--- a/src/interp/fortcall.boot
+++ b/src/interp/fortcall.boot
@@ -750,7 +750,7 @@ multiToUnivariate f ==
-- Take an AnonymousFunction, replace the bound variables by references to
-- elements of a vector, and compile it.
(first f) ~= "+->" => error "in multiToUnivariate: not an AnonymousFunction"
- if PAIRP CADR f then
+ if CONSP CADR f then
vars := CDADR f -- throw away '%Comma at start of variable list
else
vars := [CADR f]
@@ -767,7 +767,7 @@ functionAndJacobian f ==
-- Take a mapping into n functions of n variables, produce code which will
-- evaluate function and jacobian values.
(first f) ~= "+->" => error "in functionAndJacobian: not an AnonymousFunction"
- if PAIRP CADR f then
+ if CONSP CADR f then
vars := CDADR f -- throw away '%Comma at start of variable list
else
vars := [CADR f]
@@ -795,7 +795,7 @@ vectorOfFunctions f ==
-- Take a mapping into n functions of m variables, produce code which will
-- evaluate function values.
(first f) ~= "+->" => error "in vectorOfFunctions: not an AnonymousFunction"
- if PAIRP CADR f then
+ if CONSP CADR f then
vars := CDADR f -- throw away '%Comma at start of variable list
else
vars := [CADR f]