summaryrefslogtreecommitdiff
path: root/macros/nnls.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/nnls.sci')
-rw-r--r--macros/nnls.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/nnls.sci b/macros/nnls.sci
index 3e77d65..46554e9 100644
--- a/macros/nnls.sci
+++ b/macros/nnls.sci
@@ -1,4 +1,4 @@
-function x = nnls(E,f,x)
+function [x,w] = nnls(E,f)
// Non Negative Least Squares (nnls) for Ex=f with the constraint x>=0
// Reference