comparison liboctave/array/PermMatrix.h @ 21131:54527108599a

store more --enable-FEATURE info in octave_config_info * configure.ac: (ENABLE_64, ENABLE_BOUNDS_CHECK, ENABLE_DOCS, ENABLE_FLOAT_TRUNCATE, ENABLE_JIT, ENABLE_OPENMP): New variables. macros. Handle consistently and AC_DEFINE them. * common.mk, toplev.cc, oct-conf.in.h: Substitute new variables and store them in octave_config_info. * oct-conf-post.in.h: Provide old macro names for compatibility. * Array.cc, Array.h, DiagArray2.h, PermMatrix.h, Range.cc, Sparse.h, dim-vector.h, idx-vector.h, oct-refcount.h: Fix uses of macros.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Jan 2016 18:18:16 -0500
parents 3e7cfee5f786
children 2e5c1f766ac9
comparison
equal deleted inserted replaced
21130:9d7619605e5e 21131:54527108599a
82 checkelem (octave_idx_type i, octave_idx_type j) const; 82 checkelem (octave_idx_type i, octave_idx_type j) const;
83 83
84 octave_idx_type 84 octave_idx_type
85 operator () (octave_idx_type i, octave_idx_type j) const 85 operator () (octave_idx_type i, octave_idx_type j) const
86 { 86 {
87 #if defined (BOUNDS_CHECKING) 87 #if defined (ENABLE_BOUNDS_CHECK)
88 return checkelem (i, j); 88 return checkelem (i, j);
89 #else 89 #else
90 return elem (i, j); 90 return elem (i, j);
91 #endif 91 #endif
92 } 92 }