# HG changeset patch # User jwe # Date 1165247639 0 # Node ID 4942c93e37e3c950560ec9a0c7d598b87b0f1529 # Parent c50a125a6c817a9bfbbf60d013b9f47ebe9895d4 [project @ 2006-12-04 15:53:58 by jwe] diff -r c50a125a6c81 -r 4942c93e37e3 src/ChangeLog --- a/src/ChangeLog Mon Dec 04 09:25:08 2006 +0000 +++ b/src/ChangeLog Mon Dec 04 15:53:59 2006 +0000 @@ -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 -r c50a125a6c81 -r 4942c93e37e3 src/load-path.cc --- a/src/load-path.cc Mon Dec 04 09:25:08 2006 +0000 +++ b/src/load-path.cc Mon Dec 04 15:53:59 2006 +0000 @@ -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 (); } }