diff --git a/src/db/db/dbCellVariants.cc b/src/db/db/dbCellVariants.cc index 97f3c8c0d..c65d1a7a0 100644 --- a/src/db/db/dbCellVariants.cc +++ b/src/db/db/dbCellVariants.cc @@ -52,13 +52,13 @@ db::ICplxTrans OrthogonalTransformationReducer::reduce (const db::ICplxTrans &tr } else { db::ICplxTrans res; double a = trans.angle (); - double a90 = floor (a / 90.0 + 0.5) * 90.0; + double a90 = floor (a / 90.0 + 0.5 + db::epsilon) * 90.0; res.angle (a - a90); return res; } } -db::Trans OrthogonalTransformationReducer::reduce (const db::Trans &trans) const +db::Trans OrthogonalTransformationReducer::reduce (const db::Trans &) const { return db::Trans (); }