Commit 0713bfb8 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

suppress fallthrouth warning

parent 1fb377fa
......@@ -158,6 +158,7 @@ double SphericalCoords::calculateValue(size_t i_axis, Coords units, double value
return (k_f - k_i).z();
}
ASSERT(0);
return 0;
}
case Coords::QXQY: {
const R3 k_i = vecOfLambdaAlphaPhi(m_wavelength, m_alpha_i, m_phi_i);
......@@ -170,6 +171,7 @@ double SphericalCoords::calculateValue(size_t i_axis, Coords units, double value
return (k_f - k_i).x();
}
ASSERT(0);
return 0;
}
default:
ASSERT(0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment