Skip to content

Commit

Permalink
Remove some white space
Browse files Browse the repository at this point in the history
  • Loading branch information
tkuhn committed Oct 14, 2013
1 parent 9de9103 commit 8937288
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cellular_automata/disease.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
% If infected => Recover from disease with probability gamma
if ( x(i,j)==1 && rand<gamma )
x(i,j) = 2;
end
end

end
end
Expand Down
2 changes: 1 addition & 1 deletion cellular_automata/simulate_cars.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
% update statistics
density = density + sum(x)/N;


% animate
if ( withGraphics )
clf; hold on;
Expand Down
2 changes: 1 addition & 1 deletion cellular_automata/simulate_cars_video.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
% update statistics
density = density + sum(x)/N;


% animate
if ( withGraphics )
clf; hold on;
Expand Down
2 changes: 1 addition & 1 deletion cellular_automata/simulate_cars_video_w7.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
% update statistics
density = density + sum(x)/N;


% animate
if ( withGraphics )
clf; hold on;
Expand Down

0 comments on commit 8937288

Please sign in to comment.