Fix contour example to use new matrix namespace - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2011年10月26日 23:27:52 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2011年10月26日 23:27:52 +0200
commit2efcc17e960f70a8b67bc6329c40f6a7fe98d186 (patch)
tree459782959146b4b3ed15a5f1ce6f7be9edb5f959
parent46b2fcebe8e78de027674a77551b34a66deb4ed9 (diff)
downloadgsl-shell-2efcc17e960f70a8b67bc6329c40f6a7fe98d186.tar.gz
Fix contour example to use new matrix namespace
Diffstat
-rw-r--r--examples/contour.lua 2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/contour.lua b/examples/contour.lua
index 75aa8949..5c39b2d9 100644
--- a/examples/contour.lua
+++ b/examples/contour.lua
@@ -49,7 +49,7 @@ function demo4()
end
local function add_box_title(p, x1, x2, y1, y2, title)
- local box = xyline(vector {x1, x2, x2, x1}, vector {y1, y1, y2, y2})
+ local box = xyline(matrix.vec {x1, x2, x2, x1}, matrix.vec {y1, y1, y2, y2})
box:close()
p:addline(box, 'black')
p.units = false
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月16日 00:11:02 +0000

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