Skip to content
Snippets Groups Projects
Commit b44702d6 authored by Andrei Gheata's avatar Andrei Gheata
Browse files

Bug fix for directions perpendicular to Z in DistFromInside

parent b240afcf
Branches
Tags
No related merge requests found
......@@ -523,6 +523,7 @@ Double_t TGeoXtru::DistFromInside(const Double_t *point, const Double_t *dir, In
if (convex) return snext;
}
}
if (snext < 1.E10) return snext;
return TGeoShape::Tolerance();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment