Mercurial > hg > octave-nkf
diff src/pt-loop.cc @ 3998:f6df65db67f9
[project @ 2002-07-24 18:10:39 by jwe]
author | jwe |
---|---|
date | Wed, 24 Jul 2002 18:10:40 +0000 |
parents | edd758a7ca8d |
children | 6e86256e9c54 |
line wrap: on
line diff
--- a/src/pt-loop.cc +++ b/src/pt-loop.cc @@ -334,7 +334,7 @@ int nr; int steps; - if (rhs.is_real_matrix ()) + if (rhs.is_real_type ()) { m_tmp = rhs.matrix_value (); nr = m_tmp.rows (); @@ -350,7 +350,7 @@ if (error_state) goto cleanup; - if (rhs.is_real_matrix ()) + if (rhs.is_real_type ()) { if (nr == 1) DO_LOOP (m_tmp (0, i));