Skip to content

Commit

Permalink
#2673 Initialize i
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Nov 9, 2023
1 parent 46cf0db commit 67e88c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/other/pb2nc/pb2nc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3220,7 +3220,7 @@ float compute_pbl(map<float, float*> pqtzuv_map_tq,
<< pqtzuv_merged_array.size() << "\n";
}
}
for (int i; i<pqtzuv_merged_array.size(); i++) delete pqtzuv_merged_array[i];
for (int i=0; i<pqtzuv_merged_array.size(); i++) delete pqtzuv_merged_array[i];
pqtzuv_merged_array.clear();
}
return hpbl;
Expand Down

0 comments on commit 67e88c0

Please sign in to comment.