Mercurial > hg > octave-lojdl
changeset 1552:d1ddf54a79c2
[project @ 1995-10-08 23:28:05 by jwe]
author | jwe |
---|---|
date | Sun, 08 Oct 1995 23:28:27 +0000 |
parents | 8f63ee44726c |
children | 539c43aa46e5 |
files | liboctave/idx-vector.cc liboctave/idx-vector.h |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/idx-vector.cc +++ b/liboctave/idx-vector.cc @@ -273,12 +273,6 @@ } } -static inline int -intcmp (int *i, int *j) -{ - return (*i - *j); -} - int idx_vector::checkelem (int n) const { @@ -291,6 +285,12 @@ return elem (n); } +static inline int +intcmp (int *i, int *j) +{ + return (*i - *j); +} + void idx_vector::sort (void) {
--- a/liboctave/idx-vector.h +++ b/liboctave/idx-vector.h @@ -67,7 +67,7 @@ int idx_vector::length (void) const { return len; } int idx_vector::elem (int n) const { return data[n]; } - + int idx_vector::checkelem (int n) const; int idx_vector::operator () (int n) const { return checkelem (n); } int idx_vector::max (void) const { return max_val; }