Skip to content

Commit ccd82d1

Browse files
authored
Guard against pulling in actual_network (#417)
We pull in this file if USE_CXX_REACTIONS = TRUE, but if that is set without USE_REACT = TRUE, we will attempt to pull in actual_network.H, which only exists for some networks.
1 parent 7952b11 commit ccd82d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#include <actual_network.H>
21
#ifdef REACTIONS
2+
#include <actual_network.H>
33
#include <actual_rhs.H>
44
#endif
55

66
void network_init()
77
{
8-
actual_network_init();
98
#ifdef REACTIONS
9+
actual_network_init();
1010
actual_rhs_init();
1111
#endif
1212
}

0 commit comments

Comments
 (0)