Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mlz
BornAgain
Commits
0713bfb8
Commit
0713bfb8
authored
Jun 08, 2022
by
Mikhail Svechnikov
Browse files
suppress fallthrouth warning
parent
1fb377fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Device/Coord/CoordSystem2D.cpp
View file @
0713bfb8
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment