Skip to content
Snippets Groups Projects
Commit 949ffbf8 authored by Xabi's avatar Xabi
Browse files

Add default value for argument

Change-Id: I89511c45e4c4c0f585d9c04eaca0131066db975b
parent e7438f2d
No related branches found
No related tags found
No related merge requests found
......@@ -259,7 +259,7 @@ protected:
void ComputeOctantBounds(int i, int j, int k);
double OctantBounds[6]; //the bounds of the current octant
int IsInOctantBounds(double x[3], double tol)
int IsInOctantBounds(double x[3], double tol = 0.0)
{
if ( this->OctantBounds[0]-tol <= x[0] && x[0] <= this->OctantBounds[1]+tol &&
this->OctantBounds[2]-tol <= x[1] && x[1] <= this->OctantBounds[3]+tol &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment