Skip to content

Commit

Permalink
more loop
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Feb 6, 2024
1 parent c7506a8 commit 5315d4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Trans/trans.pd
Original file line number Diff line number Diff line change
Expand Up @@ -637,10 +637,10 @@ If uplo is true, A is lower triangular.
for (i = 0; i < ind;i++)
b[i] = 0;

for (i = 0; i < $SIZE(n); i++){
ind = subscr(i,i);
loop(n0) %{
ind = subscr(n0,n0);
cb[ind] = csqrt(ca[ind]);
}
%}

for (k = 0; k < $SIZE(n)-1; k++)
{
Expand Down

0 comments on commit 5315d4b

Please sign in to comment.