Skip to content

Commit

Permalink
Fix bug in CD geometry (#123)
Browse files Browse the repository at this point in the history
Contributed by @mchamberland
  • Loading branch information
mainegra committed Jul 19, 2016
1 parent ed6980d commit 7c5007d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HEN_HOUSE/egs++/geometry/egs_cd_geometry/egs_cd_geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ class EGS_CDGEOMETRY_EXPORT EGS_CDGeometry : public EGS_BaseGeometry {
// We then check if it will enter the base geometry.
EGS_Vector xtmp(x + u*t1);
tb = t-t1;
ibase = bg->howfar(ibase_n,xtmp,u,tb,pmednew,pn);
ibase_n = bg->howfar(ibase_n,xtmp,u,tb,pmednew,pn);
if (ibase_n < 0) {
return ibase_n; // no, so just return.
}
Expand Down

0 comments on commit 7c5007d

Please sign in to comment.