Mercurial > hg > octave-nkf
diff src/OPERATORS/op-dm-m.cc @ 9499:d5570d4b1116
handle null matrix assignment for diagonal and permutation matrices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Aug 2009 13:42:17 -0400 |
parents | eb63fbe60fab |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/OPERATORS/op-dm-m.cc +++ b/src/OPERATORS/op-dm-m.cc @@ -1,6 +1,6 @@ /* -Copyright (C) 2008 Jaroslav Hajek +Copyright (C) 2008, 2009 Jaroslav Hajek This file is part of Octave. @@ -24,12 +24,14 @@ #define RINCLUDE "ov-re-mat.h" #define LMATRIX diag_matrix +#define LDMATRIX matrix #define RMATRIX matrix #define LSHORT dm #define RSHORT m #define DEFINELDIV +#define DEFINENULLASSIGNCONV #include "op-dm-template.cc"