Skip to content

Commit

Permalink
Update fastfield_main.m
Browse files Browse the repository at this point in the history
  • Loading branch information
MehriB committed Aug 22, 2019
1 parent 9050e0e commit 8731b0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fastfield_main.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
ea_dispt('Calculate Efiled ...')

% check the percentages of the contacts
if sum(perc)==100 || sum(perc)==0
%if sum(perc)==100 || sum(perc)==0
if sum(perc) < 100.1 && sum(perc) > 99.9 || sum(perc)==0


% calculate the new E_field
Expand Down

0 comments on commit 8731b0e

Please sign in to comment.