aboutsummaryrefslogtreecommitdiffstats
path: root/linterp.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
commita69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch)
treef0bc974f8805049e6b9a4e6864886298fbaa05a4 /linterp.scm
parent4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff)
downloadslib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.tar.gz
slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.zip
New upstream version 3b5upstream/3b5upstream
Diffstat (limited to 'linterp.scm')
-rwxr-xr-x[-rw-r--r--]linterp.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/linterp.scm b/linterp.scm
index 5be2b36..8b5df7a 100644..100755
--- a/linterp.scm
+++ b/linterp.scm
@@ -22,6 +22,7 @@
(require 'array)
(require 'subarray)
(require 'array-for-each)
+(require 'multiarg-apply)
;;@args ra x1 ... xj
;;
@@ -86,5 +87,6 @@
(array-dimensions ra2)))
(array-index-map! ra1
(lambda idxs
- (apply interpolate-array-ref ra2
+ (apply interpolate-array-ref
+ ra2
(map * scales idxs)))))