Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 4, 2015
1 parent bd5ab44 commit 26ab95a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Examples/bubblesort.mo
Expand Up @@ -4,19 +4,15 @@ function bubblesort
protected
Real t;
algorithm

y := x;

for i in 1:size(x,1) loop
for j in 1:size(x,1) loop

if y[i] > y[j] then
t := y[i];
y[i] := y[j];
y[j] := t;
t := y[i];
y[i] := y[j];
y[j] := t;
end if;
end for;
end for;

end bubblesort;

0 comments on commit 26ab95a

Please sign in to comment.