summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-05-29 18:34:23 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-05-29 18:34:23 -0400
commita5942599645d2c04e97e8fe5f78051eb25532b3f (patch)
tree0d0a6559873e0bd8d714182f37bde60f3f552bdd
parent101cffe6f61fc1594cd63e1f4c6618ca6ee0a3a1 (diff)
Avoid compilation error if •FFI doesn't exist
-rw-r--r--reverb.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/reverb.bqn b/reverb.bqn
index 04a067e..82e1e5b 100644
--- a/reverb.bqn
+++ b/reverb.bqn
@@ -21,7 +21,7 @@ rev1 ← {𝕊
# Use the half-complex form of FFTW
# Converts e.g. 8 reals to r0,r1,r2,r3,r4,i3,i2,i1 and back
pl ← ">" ∾ plan ← "*:i32"
- Fn ← "/usr/lib/libfftw3.so.3"⊸•FFI
+ Fn ← "/usr/lib/libfftw3.so.3"⊸(•BQN"•FFI")
createPlan ← Fn plan‿"fftw_plan_r2r_1d"‿"i32"‿"*f64"‿"&f64"‿"i32"‿"i32"
destroyPlan ← Fn ""‿"fftw_destroy_plan"‿pl
executePlan ← Fn ""‿"fftw_execute"‿pl