Calculator fails on multiple argument functions
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtkFunctionParser.cxx fails when an argument to a multiple argument function is a function (min,max,cross). For example,
min(2,ln(1)) min(ln(1),2)
error message: There was a VTK Error in file: /home/sxs/paraview/paraview-2.6.1/ParaView-2.6.1/VTK/Common/vtkFunctionParser.cxx (1404) vtkFunctionParser (0x6279b00): Syntax error: expecting a variable name; see position 9
The workaround is min(ln(1)+0,2)
But we don't want to have to explain workarounds to our customers. Also, I have developed an if(cond,trueVal,falseVal) that breaks the same way that min does, since I copy your code.
I am working on the code development team for Jim Ahrens at LANL.
Thanks, Sid