Mercurial > octave
view scripts/deprecated/module.mk @ 27627:2890a931e647
Deprecated sizemax function (bug #47469).
* scripts/deprecated/sizemax.m: New m-file to produce a warning and provide
sizemax() behavior for the next two Octave releases.
* scripts/deprecated/module.mk: Add sizemax.m to build system.
* bitfcns.cc (Fsizemax): Remove function.
* dim-vector.h (dim_max): Add OCTAVE_DEPRECATED macro to function.
* dim-vector.cc (safe_numel): Call std::numeric_limits<octave_idx_type>::max
rather than dim_max().
* __sprand__.m: Replace sizemax() invocation with new code.
* numbers.txi: Remove DOCSTRING entry for sizemax and add text explaining
actual size limitation imposed by size of index pointers when Octave was
compiled.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 04 Nov 2019 08:09:37 -0800 |
parents | 8a04f5454350 |
children | 31b95261c7d2 |
line wrap: on
line source
FCN_FILE_DIRS += scripts/deprecated %canon_reldir%_FCN_FILES = \ %reldir%/output_max_field_width.m \ %reldir%/runtests.m \ %reldir%/sizemax.m %canon_reldir%dir = $(fcnfiledir)/deprecated %canon_reldir%_DATA = $(%canon_reldir%_FCN_FILES) FCN_FILES += $(%canon_reldir%_FCN_FILES) PKG_ADD_FILES += %reldir%/PKG_ADD DIRSTAMP_FILES += %reldir%/$(octave_dirstamp)