Mercurial > octave-nkf
comparison liboctave/fRowVector.cc @ 9550:3d6a9aea2aea
refactor binary & bool ops in liboctave
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 19 Aug 2009 22:55:15 +0200 |
parents | dc07bc4157b8 |
children | e087d7c77ff9 |
comparison
equal
deleted
inserted
replaced
9549:ed34b1da0e26 | 9550:3d6a9aea2aea |
---|---|
57 FloatRowVector::operator == (const FloatRowVector& a) const | 57 FloatRowVector::operator == (const FloatRowVector& a) const |
58 { | 58 { |
59 octave_idx_type len = length (); | 59 octave_idx_type len = length (); |
60 if (len != a.length ()) | 60 if (len != a.length ()) |
61 return 0; | 61 return 0; |
62 return mx_inline_equal (data (), a.data (), len); | 62 return mx_inline_equal (len, data (), a.data ()); |
63 } | 63 } |
64 | 64 |
65 bool | 65 bool |
66 FloatRowVector::operator != (const FloatRowVector& a) const | 66 FloatRowVector::operator != (const FloatRowVector& a) const |
67 { | 67 { |