# HG changeset patch # User jwe # Date 1079035596 0 # Node ID 66645e416d55e0cbe3a72499322c4f53db609b3b # Parent 8f669cc5a901a03e0541292ebdaec3f3eead7941 [project @ 2004-03-11 20:06:36 by jwe] diff -r 8f669cc5a901 -r 66645e416d55 liboctave/ChangeLog --- a/liboctave/ChangeLog Thu Mar 11 18:49:17 2004 +0000 +++ b/liboctave/ChangeLog Thu Mar 11 20:06:36 2004 +0000 @@ -1,5 +1,8 @@ 2004-03-11 John W. Eaton + * so-array.cc (SND_CMP_OP, NDS_CMP_OP, NDND_CMP_OP): + Omit empty result args. + * Array.cc (Array::Array (const Array&, const dim_vector&)): Move here from Array.h, check that size of array arg is not smaller than the size defined by the new dimensions. diff -r 8f669cc5a901 -r 66645e416d55 liboctave/so-array.cc --- a/liboctave/so-array.cc Thu Mar 11 18:49:17 2004 +0000 +++ b/liboctave/so-array.cc Thu Mar 11 20:06:36 2004 +0000 @@ -106,14 +106,14 @@ return ::compute_index (ra_idx, dimensions); } -SND_CMP_OP (mx_el_eq, ==, std::streamoff, , streamoff_array, , FBM) -SND_CMP_OP (mx_el_ne, !=, std::streamoff, , streamoff_array, , TBM) +SND_CMP_OP (mx_el_eq, ==, std::streamoff, , streamoff_array, ) +SND_CMP_OP (mx_el_ne, !=, std::streamoff, , streamoff_array, ) -NDS_CMP_OP (mx_el_eq, ==, streamoff_array, , std::streamoff, , FBM) -NDS_CMP_OP (mx_el_ne, !=, streamoff_array, , std::streamoff, , TBM) +NDS_CMP_OP (mx_el_eq, ==, streamoff_array, , std::streamoff, ) +NDS_CMP_OP (mx_el_ne, !=, streamoff_array, , std::streamoff, ) -NDND_CMP_OP (mx_el_eq, ==, streamoff_array, , streamoff_array, , FBM, TBM) -NDND_CMP_OP (mx_el_ne, !=, streamoff_array, , streamoff_array, , TBM, FBM) +NDND_CMP_OP (mx_el_eq, ==, streamoff_array, , streamoff_array, ) +NDND_CMP_OP (mx_el_ne, !=, streamoff_array, , streamoff_array, ) NDND_BIN_OP (streamoff_array, operator +, streamoff_array, streamoff_array, mx_inline_add)