-rw-r--r-- | fft-init.lua | 2 | ||||
-rw-r--r-- | makeconfig | 5 |
diff --git a/fft-init.lua b/fft-init.lua index 9a8a3a78..091aca8e 100644 --- a/fft-init.lua +++ b/fft-init.lua @@ -256,7 +256,7 @@ local function hc_newindex(ft, k, z) end local function halfcomplex_to_matrix(hc) - return matrix.cnew(hc.size, 1, |i| hc[i-1]) + return matrix.cnew(hc.size, 1, function(i) return hc[i-1] end) end local function hc_tostring(hc) diff --git a/makeconfig b/makeconfig index 592d9be9..4842ec1e 100644 --- a/makeconfig +++ b/makeconfig @@ -1,6 +1,7 @@ -# If you set to yes a Lua interpreter will be built and the GSL specific -# functions will be loaded in a separate module 'gsl' +# If you set to yes a pure Lua interpreter will be built. +# It is meant to be compatible with standard Lua and short function syntax +# will be disabled. LUA_BUILD = no # set this to "yes" if you want to disable gamma correction |