diff options
author | Calvin <calvin@barnabas.dhcp.drexel.edu> | 2013-05-20 16:58:51 -0400 |
---|---|---|
committer | Calvin <calvin@barnabas.dhcp.drexel.edu> | 2013-05-20 16:58:51 -0400 |
commit | a2b3c94df7aadc9c0150fe5f1296d31b662beefd (patch) | |
tree | 8dce67a76d7f934ca52c32ed1103cbebb3aa7e24 /src | |
parent | 5eb9f6d4cb64fabe0c3d52464412e9ab89578eef (diff) |
use n*n*n instead on n*n for nnls
Diffstat (limited to 'src')
-rw-r--r-- | src/c/nnls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/nnls.c b/src/c/nnls.c index ddd9f2f..e512388 100644 --- a/src/c/nnls.c +++ b/src/c/nnls.c @@ -204,7 +204,7 @@ int nnls_algorithm(double *a, int m,int n, double *b, double *x, double *rnorm) if(n < 3) itmax=n*3; else - itmax=n*n; + itmax=n*n*n; while(iz1 <= iz2 && nsetp < m) { |