Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
d74fc982
Unverified
Commit
d74fc982
authored
Oct 17, 2019
by
Justin Carpentier
Committed by
GitHub
Oct 17, 2019
Browse files
macros: add missing include stdexcept
parent
f17532bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/macros.hpp
View file @
d74fc982
...
...
@@ -20,6 +20,7 @@
#define PINOCCHIO_STRING_LITERAL(string) #string
#include <exception>
#include <stdexcept>
/// \brief Macro to check an assert-like condition and throw a runtime error exception (with a message) if violated.
#define PINOCCHIO_ASSERT_THROW_AT_RUNTIME(cond) if (!(cond)) { throw std::runtime_error("Please check the dimensions of all input arguments."); }
...
...
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