Skip to content

Commit

Permalink
Bollean combination was bad
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-girod committed Nov 20, 2019
1 parent 6f125f8 commit 8d6425e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostProcessing/CPP_Banana.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Pt2dr TFW_XY2IJ(Pt2dr aXY, vector<double> aTFW)

bool isInside(Pt2di aBorder, Pt2dr aPt)
{
return (aPt.x > 0, aPt.y > 0, aPt.x < aBorder.x, aPt.y < aBorder.y);
return (aPt.x > 0 && aPt.y > 0 && aPt.x < aBorder.x && aPt.y < aBorder.y);
}

vector<Pt3dr> ComputedZFromDEMAndMask(REAL8** aDEMINData, vector<double> aTFWin, Pt2di aSzIN, string aDEMRefPath, string aMaskPath)
Expand Down

0 comments on commit 8d6425e

Please sign in to comment.