gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/demo-init.lua
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年01月21日 12:52:30 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年01月21日 12:52:30 +0100
commit8ff3668eb51c6d7d3445ecfb5f3764162e89b501 (patch)
tree7c70d5b088aa172124dc77344238db9461323d76 /demo-init.lua
parentfe2cbfdf5313eb694281a77750d9a69e97a27fb5 (diff)
parent4e7ce8e013fc1e4035eb4511795da6b98c7940e3 (diff)
downloadgsl-shell-8ff3668eb51c6d7d3445ecfb5f3764162e89b501.tar.gz
Merge branch 'vegas' into gsl-shell-2
Conflicts: Makefile demo-init.lua
Diffstat (limited to 'demo-init.lua')
-rw-r--r--demo-init.lua 6
1 files changed, 3 insertions, 3 deletions
diff --git a/demo-init.lua b/demo-init.lua
index 4c897a16..bfb118ed 100644
--- a/demo-init.lua
+++ b/demo-init.lua
@@ -5,18 +5,18 @@ local function load_demo(name)
local record = require('demos/' .. name)
local group, info = record[1], record[2]
local section = demo_list[group]
- if not section then
+ if not section then
section = {}
demo_list[group] = section
end
local i = #section
- for k, v in ipairs(info) do
+ for k, v in ipairs(info) do
section[i+k] = v
end
end
local demo_files = {
- 'fft', 'bspline', 'wave-particle', 'plot', 'fractals', 'ode', 'nlinfit', 'integ', 'anim', 'linfit', 'contour', 'svg', 'graphics', 'sf'}
+ 'fft', 'bspline', 'wave-particle', 'plot', 'fractals', 'ode', 'nlinfit', 'integ', 'anim', 'linfit', 'contour', 'svg', 'graphics', 'sf', 'vegas'}
for i, name in ipairs(demo_files) do
load_demo(name)
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月12日 16:44:37 +0000

AltStyle によって変換されたページ (->オリジナル) /