Skip to content

Commit 60e6915

Browse files
committed
fix and operator in C++ template
1 parent ae98681 commit 60e6915

File tree

1 file changed

+1
-1
lines changed
  • brian2/devices/cpp_standalone/templates

1 file changed

+1
-1
lines changed

brian2/devices/cpp_standalone/templates/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void set_from_command_line(const std::vector<std::string> args)
3636
}
3737

3838
void _int_handler(int signal_num) {
39-
if (Network::_globally_running and !Network::_globally_stopped) {
39+
if (Network::_globally_running && !Network::_globally_stopped) {
4040
Network::_globally_stopped = true;
4141
} else {
4242
std::signal(signal_num, SIG_DFL);

0 commit comments

Comments
 (0)