Skip to content

Commit

Permalink
Add #ifdef for debug log (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbabu authored Dec 2, 2024
1 parent 806ca13 commit 5cfa31f
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 5cfa31f

Please sign in to comment.