Skip to content

Commit

Permalink
fix bug where new variable were not initialized (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Edouard2laire committed Oct 7, 2023
1 parent 5a57428 commit d2508c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gui/panel_brainentropy.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@
fprintf('\n\n***\tError in call to panel_brainentropy\t***\n\tPlease report this bug to: latis@gmail.com\n\n')
return
end


if ~isfield(OPTIONS.model,'depth_weigth_MNE')
OPTIONS.model.depth_weigth_MNE = 0;
OPTIONS.model.depth_weigth_MEM = 0;
end
% ==== CHECK INSTALLATION ==== %
% if firstCall
% [bug,warn,version,last_update] = be_install;
Expand Down

0 comments on commit d2508c6

Please sign in to comment.