summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/syseq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syseq.h b/src/syseq.h
index 029f27a91..4e7ccd943 100644
--- a/src/syseq.h
+++ b/src/syseq.h
@@ -289,7 +289,7 @@ template <int S, int T> SolutionKind gaussjord_solve (double A[S][T], double x[T
* afterwards copy the result back to x
*/
double w[S];
- SysEq::multiply<S,T>(B,x,w);
+ SysEq::multiply<S,T>(B,x,w); // initializes w
for (int j = 0; j < S; ++j) {
x[cols[j]] = w[j];
}