diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-05-29 18:34:23 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2022-05-29 18:34:23 -0400 |
| commit | a5942599645d2c04e97e8fe5f78051eb25532b3f (patch) | |
| tree | 0d0a6559873e0bd8d714182f37bde60f3f552bdd | |
| parent | 101cffe6f61fc1594cd63e1f4c6618ca6ee0a3a1 (diff) | |
Avoid compilation error if •FFI doesn't exist
| -rw-r--r-- | reverb.bqn | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
