Unverified Commit 1281a473 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #1351 from jcarpent/topic/fix

Fix throwing
parents b2ac6e40 339f6f53
Pipeline #12456 passed with stage
in 244 minutes and 9 seconds
......@@ -123,7 +123,7 @@ namespace pinocchio
oss << message << std::endl; \
else \
oss << size_literal << " is different from " << expected_size_literal << std::endl; \
PINOCCHIO_THROW(true, std::invalid_argument, oss.str()); \
PINOCCHIO_THROW(false, std::invalid_argument, oss.str()); \
}
#define _PINOCCHIO_CHECK_ARGUMENT_SIZE_3(size, expected_size, message) \
......
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