Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
OPAL
src
Commits
ec86d04d
Commit
ec86d04d
authored
Jul 15, 2020
by
frey_m
Browse files
ySigmaGenerator: fix exception text
parent
b1d19316
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Distribution/SigmaGenerator.cpp
src/Distribution/SigmaGenerator.cpp
+1
-1
No files found.
src/Distribution/SigmaGenerator.cpp
View file @
ec86d04d
...
...
@@ -562,7 +562,7 @@ void SigmaGenerator::initialize(double nuz, double ravg)
tmp
=
std
::
sqrt
(
tmp
);
// [tmp] = 1/m^{2}
if
(
a
<
tmp
)
throw
OpalException
(
"
Error in
SigmaGenerator::initialize()"
,
throw
OpalException
(
"SigmaGenerator::initialize()"
,
"Square root of negative number."
);
if
(
h
*
h
*
nuz
*
nuz
<=
K
)
...
...
Write
Preview
Markdown
is supported
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