|
From: Alan W. I. <ir...@be...> - 2002-02-19 21:51:58
|
I have been struggling with resetting the cmap1 to default values for tcl.
Turns out my problems were due to the following construct which I thought
should work to initialize the matrix.
matrix l f 6 = {0.5, $midpt, $vertex, $vertex, $midpt, 0.5}
This silently fails by sticking zeroes everywhere there is a variable
reference (i.e., all the interior points) even though the variables have
previously been set. Isn't this a bug? Shouldn't the variables just be
replaced by their values?
I worked around this by using
l 1 = $midpt
l 2 = $vertex
etc., in x08.tcl,
but I don't think this workaround should be necessary.
Alan
email: ir...@be...
phone: 250-727-2902 FAX: 250-721-7715
snail-mail:
Dr. Alan W. Irwin
Department of Physics and Astronomy,
University of Victoria, P.O. Box 3055,
Victoria, British Columbia, Canada, V8W 3P6
__________________________
Linux-powered astrophysics
__________________________
|