diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-01-23 18:45:08 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-01-23 18:45:08 +0000 |
| commit | 4d368c0ed0441dfd9e0cda7fa1c0f370180fa4ae (patch) | |
| tree | acea66c8bca4772a4d23a508cbab679bb678616f /src/syseq.h | |
| parent | Clean up more GObject type definitions (diff) | |
| download | inkscape-4d368c0ed0441dfd9e0cda7fa1c0f370180fa4ae.tar.gz inkscape-4d368c0ed0441dfd9e0cda7fa1c0f370180fa4ae.zip | |
cppcheck: style and performance
(bzr r12056)
Diffstat (limited to 'src/syseq.h')
| -rw-r--r-- | src/syseq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syseq.h b/src/syseq.h index 5c7702268..029f27a91 100644 --- a/src/syseq.h +++ b/src/syseq.h @@ -279,7 +279,7 @@ template <int S, int T> SolutionKind gaussjord_solve (double A[S][T], double x[T // we need to adapt the value if we we are in the "projective case" (see above) double val_new = (proj ? projectify<S,T>(cols, B, x, index, val) : val); - if (index != -1 && index >= 0 && index < T) { + if (index >= 0 && index < T) { // we want the specified coefficient of the solution vector to have a given value x[index] = val_new; } |
