Mercurial > jwe > octave
comparison liboctave/util/lo-array-gripes.cc @ 21140:e06e600f396a
eliminate use of USE_64_BIT_IDX_T
* common.mk (do_subst_config_vals, do_subst_cross_config_vals):
Don't substitute OCTAVE_CONF_USE_64_BIT_IDX_T.
* toplev.cc (octave_config_info): Set USE_64_BIT_IDX_T from
OCTAVE_CONF_ENABLE_64.
* oct-conf.in.h (OCTAVE_CONF_USE_64_BIT_IDX_T): Delete macro.
* oct-hdf5.h, amd.cc, ccolamd.cc, colamd.cc, dmperm.cc, symbfact.cc,
ov.cc, CSparse.cc, CSparse.h, MArray-i.cc, dSparse.cc, dSparse.h,
SparseCmplxQR.h, SparseQR.h, sparse-base-chol.cc,
lo-array-errwarn.cc, lo-array-gripes.cc, oct-sparse.h, acinclude.m4,
oct-conf-post.in.h, computer.m:
Use ENABLE_64 instead of USE_64_BIT_IDX_T.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 25 Jan 2016 19:16:31 -0500 |
parents | 95da3bc8a281 |
children | f7121e111991 |
comparison
equal
deleted
inserted
replaced
21139:538b57866b90 | 21140:e06e600f396a |
---|---|
114 : index_exception (value, ndim, dimen) | 114 : index_exception (value, ndim, dimen) |
115 { } | 115 { } |
116 | 116 |
117 std::string details (void) const | 117 std::string details (void) const |
118 { | 118 { |
119 #ifdef USE_64_BIT_IDX_T | 119 #if defined (ENABLE_64) |
120 return "subscripts must be either integers 1 to (2^63)-1 or logicals"; | 120 return "subscripts must be either integers 1 to (2^63)-1 or logicals"; |
121 #else | 121 #else |
122 return "subscripts must be either integers 1 to (2^31)-1 or logicals"; | 122 return "subscripts must be either integers 1 to (2^31)-1 or logicals"; |
123 #endif | 123 #endif |
124 } | 124 } |