Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

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