Skip to content

Commit

Permalink
Add #ifdef for debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbabu committed Dec 2, 2024
1 parent 806ca13 commit 6a76b3c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,9 @@ inline void
{
if (timestep < 1E-12)
{
#ifdef DEBUG
std::cout << "[synapse " << this << "] {{ synapseName }}: update_internal_state_() called with dt < 1E-12; skipping update" << std::endl;
#endif
return;
}

Expand Down

0 comments on commit 6a76b3c

Please sign in to comment.