Commit 64e8387c authored by allens's avatar allens
Browse files

fixed dumb code and warning

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@27926 18c085ea-50e0-402c-830e-de6fd14e8384
parent 21a7e70a
......@@ -581,7 +581,7 @@ avtLCSFilter::SingleBlockIterativeCalc( vtkDataSet *in_ds,
int ms = ic->GetMaxSteps();
if( ms < (unsigned int)maxSteps )
if( ms < maxSteps )
{
ic->SetMaxSteps(ms+1);
ic->status.ClearTerminationMet();
......@@ -589,7 +589,7 @@ avtLCSFilter::SingleBlockIterativeCalc( vtkDataSet *in_ds,
// Check to see if all exponents have been found.
if( exponents->GetTuple1(l) == std::numeric_limits<double>::min() &&
ic->GetMaxSteps() < (unsigned int)maxSteps )
ms < maxSteps )
haveAllExponents = false;
}
......@@ -777,7 +777,7 @@ avtLCSFilter::RectilinearGridIterativeCalc( std::vector<avtIntegralCurve*> &ics
int ms = ic->GetMaxSteps();
if( ms < (unsigned int)maxSteps )
if( ms < maxSteps )
{
ic->SetMaxSteps(ms+1);
ic->status.ClearTerminationMet();
......@@ -787,7 +787,7 @@ avtLCSFilter::RectilinearGridIterativeCalc( std::vector<avtIntegralCurve*> &ics
// Check to see if all exponents have been found.
if( exponents->GetTuple1(l) == std::numeric_limits<double>::min() &&
ic->GetMaxSteps() < (unsigned int)maxSteps )
ms < maxSteps )
haveAllExponents = false;
}
......
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