# HG changeset patch # User jwe # Date 1165247639 0 # Node ID 4942c93e37e3c950560ec9a0c7d598b87b0f1529 # Parent c50a125a6c817a9bfbbf60d013b9f47ebe9895d4 [project @ 2006-12-04 15:53:58 by jwe] diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,8 +1,11 @@ 2006-12-04 David Bateman - * ov-base-mat.cc (void octave_base_matrix::assign - (const octave_value_list&, const MT&)): Invalidate matrix - type on assignment + * load-path.cc (load_path::do_find_fcn): Return empty string if + tests fail. + + * ov-base-mat.cc (void octave_base_matrix::assign (const + octave_value_list&, const MT&)): Invalidate matrix type on + assignment. 2006-11-30 John W. Eaton diff --git a/src/load-path.cc b/src/load-path.cc --- a/src/load-path.cc +++ b/src/load-path.cc @@ -727,6 +727,9 @@ else error ("load_path::do_find_fcn: %s: invalid type code = %d", fcn.c_str (), type); + + // Reset the return string, in case the above tesst fail. + retval = std::string (); } }