Skip to content

Commit

Permalink
Update photoz_lib.h
Browse files Browse the repository at this point in the history
Trying to get pre-commit to pass

Experimenting with editing in a fork and pr. I hope this wont interfere and break anything.
  • Loading branch information
raphaelshirley authored Aug 29, 2024
1 parent d70cb73 commit 0bb81e0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/lib/photoz_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,9 @@ class PhotoZ {
PhotoZ(keymap &key_analysed);

virtual ~PhotoZ() {
for (auto &sed: fullLib)
delete sed;
for (auto &sed: fullLibIR)
delete sed;
for (auto &sed: lightLib)
delete sed;
for (auto &sed: fullLib) delete sed;
for (auto &sed: fullLibIR) delete sed;
for (auto &sed: lightLib) delete sed;
fullLib.clear();
fullLibIR.clear();
lightLib.clear();
Expand Down

0 comments on commit 0bb81e0

Please sign in to comment.