Mercurial > octave
diff liboctave/array/Sparse.cc @ 22600:dd80fb1ef949 stable
maint: minor style fixes for C++ code.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Oct 2016 12:10:22 -0400 |
parents | 93ea313301f9 |
children | 3a2b891d0b33 e9a0469dedd9 |
line wrap: on
line diff
--- a/liboctave/array/Sparse.cc Thu Oct 06 11:55:20 2016 -0400 +++ b/liboctave/array/Sparse.cc Thu Oct 06 12:10:22 2016 -0400 @@ -2201,7 +2201,8 @@ else assign (idx_i, idx_j, Sparse<T> (n, m)); } - else if (idx_i.length (nr) == m && idx_j.length (nc) == n && (n==1 || m==1)) + else if (idx_i.length (nr) == m && idx_j.length (nc) == n + && (n == 1 || m == 1)) { assign (idx_i, idx_j, rhs.transpose ()); }