Skip to content

Commit

Permalink
fix extended debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Oct 18, 2024
1 parent 2868a14 commit 62ef501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void wrapErrHandlerFn(
std::is_same<SUNErrCode, int>::value, "Must update format string"
);
// for debug builds, include full file path and line numbers
#ifdef NDEBUG
#ifndef NDEBUG
snprintf(msg_buffer, BUF_SIZE, "%s:%d: %s (%d)", file, line, msg, err_code);
#else
snprintf(msg_buffer, BUF_SIZE, "%s", msg);
Expand Down

0 comments on commit 62ef501

Please sign in to comment.