comparison libinterp/octave-value/ov-class.cc @ 18881:4cdab2973171

maint: Fix some spellings in error messages. * ov-class.cc (Fisa): Correct spelling of "attay" to "array". * ov-usr-fcn.cc (Fnargin, Fnargout): Use spelling "built-in" in error messages for consistency with rest of Octave.
author Rik <rik@octave.org>
date Sun, 29 Jun 2014 18:35:44 -0700
parents 6113e0c6920b
children
comparison
equal deleted inserted replaced
18880:ca0d9844dfd7 18881:4cdab2973171
1948 1948
1949 octave_value obj = args(0); // not const because of find_parent_class () 1949 octave_value obj = args(0); // not const because of find_parent_class ()
1950 const Array<std::string> cls = args(1).cellstr_value (); 1950 const Array<std::string> cls = args(1).cellstr_value ();
1951 if (error_state) 1951 if (error_state)
1952 { 1952 {
1953 error ("isa: CLASSNAME must be a string or cell attay of strings"); 1953 error ("isa: CLASSNAME must be a string or cell array of strings");
1954 return retval; 1954 return retval;
1955 } 1955 }
1956 1956
1957 boolNDArray matches (cls.dims (), false); 1957 boolNDArray matches (cls.dims (), false);
1958 const octave_idx_type n = cls.numel (); 1958 const octave_idx_type n = cls.numel ();