Skip to content

Commit

Permalink
Revert "Update lsqadj.c"
Browse files Browse the repository at this point in the history
This reverts commit 7c91346.
  • Loading branch information
alexlib committed Dec 15, 2023
1 parent 8806012 commit 138649c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liboptv/src/lsqadj.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ void ata (double *a, double *ata, int m, int n, int n_large ) {
{
for (j = 0; j < n; j++)
{
*(ata+i*n+j) = 0.0;
*(ata+i*n_large+j) = 0.0;
for (k = 0; k < m; k++)
*(ata+i*n+j) += *(a+k*n_large+i) * *(a+k*n_large+j);
*(ata+i*n_large+j) += *(a+k*n_large+i) * *(a+k*n_large+j);
}
}
}
Expand Down

0 comments on commit 138649c

Please sign in to comment.