Mercurial > hg > octave-lyh
view libcruft/quadpack/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 += quadpack/module.mk libcruft_la_SOURCES += \ quadpack/dqagi.f \ quadpack/dqagie.f \ quadpack/dqagp.f \ quadpack/dqagpe.f \ quadpack/dqelg.f \ quadpack/dqk15i.f \ quadpack/dqk21.f \ quadpack/dqpsrt.f \ quadpack/qagie.f \ quadpack/qagi.f \ quadpack/qagpe.f \ quadpack/qagp.f \ quadpack/qelg.f \ quadpack/qk15i.f \ quadpack/qk21.f \ quadpack/qpsrt.f \ quadpack/xerror.f