diff options
Diffstat (limited to 'linterp.scm')
-rwxr-xr-x[-rw-r--r--] | linterp.scm | 4 |
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))))) |