Mercurial > octave
view .hgsubstate @ 22212:2b487dbe419d
dim-vector.h (ndims): do not return a reference to the rep.
* dim-vector.h (ndims): this methods was only made public recently
with dcee67d28570 and is not used anywhere else. It would expose
the rep for no gain, so always return the int by copy.
* dim-vector.cc: access the ndims on rep directly.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Sat, 06 Aug 2016 04:15:07 +0100 |
parents | 3008798dc5ba |
children | dc4e2203cd15 |