Skip to content
Browse files

Start on unit tests for interpolation classes

  • Loading branch information
nyalldawson committed Nov 3, 2017
1 parent fe78611 commit 61fa8da82a380f19fa45aca7f939a043ef5698f5
@@ -227,7 +227,7 @@ void CloughTocherInterpolator::init( double x, double y )//version, which has th

if ( mTIN )
mTIN->getTriangle( x, y, &point1, &ptn1, &v1, &state1, &point2, &ptn2, &v2, &state2, &point3, &ptn3, &v3, &state3 );
mTIN->getTriangle( x, y, point1, ptn1, &v1, &state1, point2, ptn2, &v2, &state2, point3, ptn3, &v3, &state3 );

if ( point1 == lpoint1 && point2 == lpoint2 && point3 == lpoint3 )//if we are in the same triangle as at the last run, we can leave 'init'

0 comments on commit 61fa8da

Please sign in to comment.
You can’t perform that action at this time.