Skip to content

Commit

Permalink
Merge pull request #30 from lanl/jhp/require
Browse files Browse the repository at this point in the history
Change behavior of `require` to match documentation
  • Loading branch information
Yurlungur authored Feb 16, 2023
2 parents 25097e6 + 802cf2c commit e993004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports-of-call/portable_errors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ namespace impl {
const char *const message,
const char *const filename,
int const linenumber) {
if (condition_bool) {
if (!condition_bool) {
std::printf(
"### ERROR\n Condition: %s\n Message: %s\n File: "
"%s\n Line number: %i\n",
Expand Down

0 comments on commit e993004

Please sign in to comment.