Mercurial > hg > octave-lyh
diff src/variables.cc @ 5759:ce79d238f142
[project @ 2006-04-13 13:04:32 by jwe]
author | jwe |
---|---|
date | Thu, 13 Apr 2006 13:04:33 +0000 |
parents | 1c36a2e82266 |
children | 8d7162924bd3 |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -2554,10 +2554,10 @@ if (fsr && fsr->is_user_function ()) { octave_value tmp = fsr->def (); - const octave_value& rep = tmp.get_rep (); + const octave_base_value& rep = tmp.get_rep (); const octave_user_function& fcn - = static_cast<const octave_user_function&> (rep); + = dynamic_cast<const octave_user_function&> (rep); fcn.print_symtab_info (octave_stdout); }