Mercurial > hg > octave-lyh
view libcruft/odepack/module.mk @ 13754:e652ff4d1522
don't crash when concatenating structs with no fields
* oct-map.cc (octave_map::cat (int, octave_idx_type, const
octave_scalar_map*)): Quick return for N == 1.
(octave_map::cat (int, octave_idx_type, const octave_map*)):
Quick return for N == 1. Only call permute_to_correct_order if there
are fields. Use dim_vector::concat to compute result dimensions if
there are no fields.
New tests for concatentation of structs with no fields.
* pt-mat.cc (tm_const::init (const tree_matrix&)): Initialize all_1x1
to true if tree_matrix argument is not empty.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 26 Oct 2011 00:50:39 -0400 |
parents | 0d4613a736e9 |
children |
line wrap: on
line source
EXTRA_DIST += odepack/module.mk libcruft_la_SOURCES += \ odepack/cfode.f \ odepack/dlsode.f \ odepack/ewset.f \ odepack/intdy.f \ odepack/prepj.f \ odepack/solsy.f \ odepack/stode.f \ odepack/vnorm.f \ odepack/scfode.f \ odepack/sewset.f \ odepack/sintdy.f \ odepack/slsode.f \ odepack/sprepj.f \ odepack/ssolsy.f \ odepack/sstode.f \ odepack/svnorm.f