Substitute for dim0 and dim1 in funcallables when scalarsp=NIL
authorLiam M. Healy <lhealy@common-lisp.net>
Sun, 18 Nov 2012 16:27:24 +0000 (11:27 -0500)
committerLiam M. Healy <lhealy@common-lisp.net>
Sun, 18 Nov 2012 16:27:24 +0000 (11:27 -0500)
commit127d3d02081193b978eefe175ab550594aa5499f
treeac56ef8b262264ea3e30060bd8fff5e987761c6c
parent2ea64e9044eb5b0aa3221e391930bccf74b95db3
Substitute for dim0 and dim1 in funcallables when scalarsp=NIL

Previously, the funcallable form made by #'make-funcallable-form (for
e.g. ODE solvers) when scalarsp=T involved substituting the symbols
'dim0 and 'dim1, but when scalarsp=NIL, would not do the substitution.
This caused an error when those unevaluated and unbound symbols
appeared in the lambda.  By altering #'faify-form with an additional
'dimension-values argument and calling
(value-from-dimensions argspec dimension-values)
instead of
(parse-callback-argspec argspec 'dimensions),
this problem is fixed.
init/funcallable.lisp
ordinary-differential-equations/evolution.lisp