Verified Commit 4f405071 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

macros: improve return message with print of the condition

parent cf209993
......@@ -37,7 +37,9 @@
#define _PINOCCHIO_CHECK_INPUT_ARGUMENT_1(condition) \
_PINOCCHIO_CHECK_INPUT_ARGUMENT_2(condition,"Please check the dimensions of all input arguments.")
"Please check the dimensions of all input arguments.\n"\
"The following check has failed: "#condition)
Markdown is supported
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