Simulation.cc sets LBFIELD (1) only if BFIELDX has been defined in the DSL

This commit is contained in:
jpekkila
2020-09-14 13:27:56 +03:00
parent 830b8ad179
commit 6d2be634d7

View File

@@ -44,7 +44,11 @@
// NEED TO BE DEFINED HERE. IS NOT NOTICED BY compile_acc call.
#define LFORCING (0)
#define LSINK (0)
#ifdef BFIELDX
#define LBFIELD (1)
#else
#define LBFIELD (0)
#endif
// Write all setting info into a separate ascii file. This is done to guarantee
// that we have the data specifi information in the thing, even though in