Mercurial > hg > octave-lyh
view libcruft/link-deps.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 | 05534f03377d |
children |
line wrap: on
line source
## The following libraries may be needed to satisfy gnulib dependencies: ## ## $(COPYSIGN_LIBM) ## $(FLOOR_LIBM) ## $(GETHOSTNAME_LIB) ## $(LIBSOCKET) ## $(LIB_NANOSLEEP) ## $(LTLIBINTL) ## $(ROUNDF_LIBM) ## $(ROUND_LIBM) ## $(TRUNCF_LIBM) ## $(TRUNC_LIBM) LIBCRUFT_LINK_DEPS = \ $(COPYSIGN_LIBM) \ $(FLOOR_LIBM) \ $(GETHOSTNAME_LIB) \ $(LIBSOCKET) \ $(LIB_NANOSLEEP) \ $(LTLIBINTL) \ $(ROUNDF_LIBM) \ $(ROUND_LIBM) \ $(TRUNCF_LIBM) \ $(TRUNC_LIBM) \ $(LAPACK_LIBS) \ $(BLAS_LIBS) \ $(FLIBS) \ $(LIBS) LIBCRUFT_LINK_OPTS =