Skip to content

Commit

Permalink
Update zef_turn_compartment_onoff.m
Browse files Browse the repository at this point in the history
Commended the if condition because it was giving an error. Pending for evaluation.
  • Loading branch information
NandoGalaz authored Jan 6, 2025
1 parent 6bc0277 commit dd68e3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions m/zef_turn_compartment_onoff.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
c_t = zef.compartment_tags;
n_c_t = length(c_t);

if isempty(compartment_onoff_vec)
% if isempty(compartment_onoff_vec)
compartment_onoff_vec = ones(1,n_c_t);
end
% end

for i = 1 : n_c_t

zef.([c_t{i} '_on']) = compartment_onoff_vec(i);

end

end
end

0 comments on commit dd68e3b

Please sign in to comment.