Skip to content

Commit

Permalink
add deletes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcurtis2 committed Nov 11, 2023
1 parent 1404263 commit c8b0185
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/aero_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ struct AeroState {
exclude_arr
);

delete[] include_arr;
delete[] exclude_arr;

return diameters;
}

Expand Down Expand Up @@ -400,6 +403,9 @@ struct AeroState {
exclude_arr
);

delete[] include_arr;
delete[] exclude_arr;

return volumes;
}

Expand Down Expand Up @@ -491,6 +497,10 @@ struct AeroState {
group_arr
);

delete[] include_arr;
delete[] exclude_arr;
delete[] group_arr;

return std::make_tuple(d_alpha, d_gamma, chi);
}

Expand Down

0 comments on commit c8b0185

Please sign in to comment.