Skip to content

Commit b749631

Browse files
committed
Bug fix: Remove unnecessary clear command
Sprof and Prof are global variables that should not be cleared.
1 parent 753729a commit b749631

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

select_profiles.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@
259259
Prof_sel.(prof_fields{i}) = Prof.(prof_fields{i})(idx_prof);
260260
end
261261
end
262-
clear Sprof Prof;
263262

264263
% select bgc and phys floats separately, then combine the results
265264
if strcmp(type, 'bgc') || strcmp(type, 'all')

0 commit comments

Comments
 (0)