Commit 2a1ca4b1 authored by Christoph Ruegge's avatar Christoph Ruegge
Browse files

only require tmat if type is triangles

parent 461a3205
......@@ -27,7 +27,8 @@ args = p.parse_args()
args.xmat = args.xmat or args.base + "-x.txt"
args.ymat = args.ymat or args.base + "-y.txt"
args.zmat = args.zmat or args.base + "-z.txt"
args.tmat = args.tmat or args.base + "-t.txt"
if args.type == 'triangles':
args.tmat = args.tmat or args.base + "-t.txt"
#read required matrices
X = loadtxt (args.xmat)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment