Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
d85b5f1a
Commit
d85b5f1a
authored
May 25, 2016
by
Kilian Lackhove
Browse files
print an error message for erroneous equations when compiled with RELEASE
parent
be4a2651
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/LibUtilities/BasicUtils/Equation.h
View file @
d85b5f1a
...
...
@@ -80,7 +80,7 @@ namespace Nektar
{
m_expr_id
=
-
1
;
std
::
string
msg
(
std
::
string
(
"Equation::Equation() fails on expression ["
)
+
m_expr
+
std
::
string
(
"]
\n
"
));
ASSERTL
1
(
false
,
msg
);
ASSERTL
0
(
false
,
msg
);
throw
e
;
return
;
}
...
...
@@ -88,7 +88,7 @@ namespace Nektar
{
m_expr_id
=
-
1
;
std
::
string
msg
(
std
::
string
(
"Equation::Equation() fails on expression ["
)
+
m_expr
+
std
::
string
(
"]
\n
"
));
ASSERTL
1
(
false
,
msg
);
ASSERTL
0
(
false
,
msg
);
throw
e
;
return
;
}
...
...
Kilian Lackhove
@lackhove
mentioned in commit
2ce79b6c
·
May 25, 2016
mentioned in commit
2ce79b6c
mentioned in commit 2ce79b6c0e506bbbaa379d0b6213977891abdf47
Toggle commit list
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