Skip to content

Commit ebafba0

Browse files
committed
no resizing needed
1 parent a70eb00 commit ebafba0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

sbncode/CAFMaker/RecoUtils/RecoUtils.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,6 @@ caf::Wall_t sbn::GetWallCross(const geo::BoxBoundedGeo &volume, const TVector3 p
152152
*/
153153

154154
if( intersections.empty() ) return caf::kWallNone;
155-
// ensure intersections has two points. No op if already 2
156-
intersections.resize( 2, intersections.front() );
157155

158156
// get the intersection point closer to p0
159157
TVector3 closestIntersection;

0 commit comments

Comments
 (0)