Mercurial > octave
diff src/OPERATORS/op-sm-m.cc @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/src/OPERATORS/op-sm-m.cc Thu Jan 20 17:21:27 2011 -0500 +++ b/src/OPERATORS/op-sm-m.cc Thu Jan 20 17:24:59 2011 -0500 @@ -50,7 +50,7 @@ { CAST_BINOP_ARGS (const octave_sparse_matrix&, const octave_matrix&); MatrixType typ = v2.matrix_type (); - + Matrix ret = xdiv (v1.matrix_value (), v2.matrix_value (), typ); v2.matrix_type (typ); @@ -80,7 +80,7 @@ { MatrixType typ = v1.matrix_type (); - Matrix ret = xleftdiv (v1.sparse_matrix_value (), + Matrix ret = xleftdiv (v1.sparse_matrix_value (), v2.matrix_value (), typ); v1.matrix_type (typ); @@ -103,15 +103,15 @@ DEFBINOP (el_pow, sparse_matrix, matrix) { CAST_BINOP_ARGS (const octave_sparse_matrix&, const octave_matrix&); - - return octave_value (elem_xpow (v1.sparse_matrix_value (), + + return octave_value (elem_xpow (v1.sparse_matrix_value (), SparseMatrix (v2.matrix_value ()))); } DEFBINOP (el_ldiv, sparse_matrix, matrix) { CAST_BINOP_ARGS (const octave_sparse_matrix&, const octave_matrix&); - + return octave_value (quotient (v2.matrix_value (), v1.sparse_matrix_value ())); }