Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Start on unit tests for interpolation classes
  • Loading branch information
nyalldawson committed Nov 3, 2017
1 parent fe78611 commit 61fa8da
Show file tree
Hide file tree
Showing 11 changed files with 526 additions and 291 deletions.
2 changes: 1 addition & 1 deletion src/analysis/interpolation/CloughTocherInterpolator.cpp
Expand Up @@ -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'
{
Expand Down

0 comments on commit 61fa8da

Please sign in to comment.