Strange matrixOP behaviour?
awirsing
#pragma rtGlobals=1 // Use modern global access method.
function testf()
make/o/n=(2,2) tw0
matrixop/o tw1=col(tw0,returnf())
end
function returnf()
return 1
end
function testf()
make/o/n=(2,2) tw0
matrixop/o tw1=col(tw0,returnf())
end
function returnf()
return 1
end
Introducing a local variable solves the problem, but is in my opinion somehow strange:
function testf()
make/o/n=(2,2) tw0
variable vv
matrixop/o tw1=col(tw0,vv)
end
make/o/n=(2,2) tw0
variable vv
matrixop/o tw1=col(tw0,vv)
end
A
A.G.
WaveMetrics, Inc.
November 27, 2010 at 12:10 pm - Permalink