diff --git a/Source/driver/Castro_advance_ctu.cpp b/Source/driver/Castro_advance_ctu.cpp index f347d35c7a..7f030c1cb6 100644 --- a/Source/driver/Castro_advance_ctu.cpp +++ b/Source/driver/Castro_advance_ctu.cpp @@ -205,7 +205,9 @@ Castro::retry_advance_ctu(Real dt, const advance_status& status) #endif #ifdef REACTIONS - burn_weights.setVal(0.0); + if (castro::store_burn_weights) { + burn_weights.setVal(0.0); + } #endif // For simplified SDC, we'll have garbage data if we