author | Francesco Abbate <francesco.bbt@gmail.com> | 2011年10月29日 17:45:21 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2011年10月29日 17:45:21 +0200 |
commit | ad7c4dced1f3a8a2e4fe0078f085c21b01a35b0d (patch) | |
tree | e8e020def8720635638966867621f3c37b447078 | |
parent | f1f1186d0db56ec2dac5b98bf22e080f5189d1ce (diff) | |
download | gsl-shell-ad7c4dced1f3a8a2e4fe0078f085c21b01a35b0d.tar.gz |
-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 |