Skip to content

Commit c9656f7

Browse files
authored
Move JSON open bracket outside RHS conditional statement to fix syntax issue when running only Jacobian (#107)
1 parent 04c9014 commit c9656f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/TChem_AerosolChemistry_RHSs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ int main(int argc, char *argv[]) {
200200

201201
Kokkos::Timer timer;
202202
FILE *fout_times = fopen(outputFileTimes.c_str(), "w");
203+
fprintf(fout_times, "{\n");
203204

204205
if (do_rhs){
205206
printf("..evaluating RHS\n");
206-
fprintf(fout_times, "{\n");
207207
fprintf(fout_times, " \"Aerosol RHSs\": \n {\n");
208208
const ordinal_type level = 1;
209209
const std::string profile_name = "TChem::AerosolChemistry::RHS_evaluation";

0 commit comments

Comments
 (0)