Commit c1ced314 authored by Dave Partyka's avatar Dave Partyka
Browse files

ENH: merge in performance improvment from Utkarsh.

parent 120c88be
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <ctype.h> #include <ctype.h>
vtkCxxRevisionMacro(vtkFunctionParser, "1.45.4.1"); vtkCxxRevisionMacro(vtkFunctionParser, "1.45.4.2");
vtkStandardNewMacro(vtkFunctionParser); vtkStandardNewMacro(vtkFunctionParser);
static double vtkParserVectorErrorResult[3] = { VTK_PARSER_ERROR_RESULT, static double vtkParserVectorErrorResult[3] = { VTK_PARSER_ERROR_RESULT,
...@@ -534,8 +534,7 @@ bool vtkFunctionParser::Evaluate() ...@@ -534,8 +534,7 @@ bool vtkFunctionParser::Evaluate()
this->StackPointer = -1; this->StackPointer = -1;
if (this->FunctionMTime.GetMTime() > this->ParseMTime.GetMTime() || if (this->FunctionMTime.GetMTime() > this->ParseMTime.GetMTime())
this->VariableMTime.GetMTime() > this->ParseMTime.GetMTime())
{ {
if (this->Parse() == 0) if (this->Parse() == 0)
{ {
......
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