Mercurial > hg > octave-jordi
changeset 21003:f7e416862e90 stable
doc: fix spelling of "occurred".
* etc/OLD-ChangeLogs/scripts-ChangeLog, libinterp/corefcn/error.cc,
libinterp/corefcn/urlwrite.cc, libinterp/octave-value/ov-oncleanup.cc,
liboctave/cruft/dassl/ddastp.f, liboctave/cruft/odepack/sstode.f,
liboctave/cruft/odepack/stode.f, liboctave/util/oct-inttypes.cc,
scripts/gui/errordlg.m, scripts/gui/warndlg.m: fix spelling of "occurred"
author | Rafael Laboissiere <rafael@laboissiere.net> |
---|---|
date | Tue, 29 Dec 2015 11:51:16 +0100 |
parents | 8281e37a5631 |
children | 936b88598a0b c27b6503e5d2 |
files | etc/OLD-ChangeLogs/scripts-ChangeLog libinterp/corefcn/error.cc libinterp/corefcn/urlwrite.cc libinterp/octave-value/ov-oncleanup.cc liboctave/cruft/dassl/ddastp.f liboctave/cruft/odepack/sstode.f liboctave/cruft/odepack/stode.f liboctave/util/oct-inttypes.cc scripts/gui/errordlg.m scripts/gui/warndlg.m |
diffstat | 10 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/OLD-ChangeLogs/scripts-ChangeLog +++ b/etc/OLD-ChangeLogs/scripts-ChangeLog @@ -5568,7 +5568,7 @@ * optimization/fsolve.m: Avoid redundant reevaluation when using FD jacobians. Document how it can be done with user jacobians. Make first iteration special and call outputfcn after it. Skip updates - unless two successful iterations have occured. + unless two successful iterations have occurred. * optimization/__dogleg__.m: Add missing alpha in the zero-gradient case. * optimization/fsolve.m: Remove autodg (not used), simplify.
--- a/libinterp/corefcn/error.cc +++ b/libinterp/corefcn/error.cc @@ -86,7 +86,7 @@ // The last error message id. static std::string Vlast_error_id; -// The last file in which an error occured +// The last file in which an error occurred static octave_map Vlast_error_stack; // Current error state.
--- a/libinterp/corefcn/urlwrite.cc +++ b/libinterp/corefcn/urlwrite.cc @@ -563,7 +563,7 @@ if (nargout > 0) { - // Return empty string if no error occured. + // Return empty string if no error occurred. retval(2) = curl.good () ? "" : curl.lasterror (); retval(1) = curl.good (); retval(0) = buf.str ();
--- a/libinterp/octave-value/ov-oncleanup.cc +++ b/libinterp/octave-value/ov-oncleanup.cc @@ -90,7 +90,7 @@ catch (octave_interrupt_exception) { // Swallow the interrupt. - warning ("onCleanup: interrupt occured in cleanup action"); + warning ("onCleanup: interrupt occurred in cleanup action"); } catch (...) // Yes, the black hole. We're in a d-tor. {
--- a/liboctave/cruft/dassl/ddastp.f +++ b/liboctave/cruft/dassl/ddastp.f @@ -543,7 +543,7 @@ C THE NEWTON ITERATION FAILED TO CONVERGE FOR A REASON C OTHER THAN A SINGULAR ITERATION MATRIX. IF IRES = -2, THEN C RETURN. OTHERWISE, REDUCE THE STEPSIZE AND TRY AGAIN, UNLESS -C TOO MANY FAILURES HAVE OCCURED. +C TOO MANY FAILURES HAVE OCCURRED. 650 CONTINUE IF (IRES .GT. -2) GO TO 655 IDID = -11
--- a/liboctave/cruft/odepack/sstode.f +++ b/liboctave/cruft/odepack/sstode.f @@ -451,7 +451,7 @@ IRET = 2 GO TO 150 C----------------------------------------------------------------------- -C Control reaches this section if 3 or more failures have occured. +C Control reaches this section if 3 or more failures have occurred. C If 10 failures have occurred, exit with KFLAG = -1. C It is assumed that the derivatives that have accumulated in the C YH array have errors of the wrong order. Hence the first
--- a/liboctave/cruft/odepack/stode.f +++ b/liboctave/cruft/odepack/stode.f @@ -435,7 +435,7 @@ IRET = 2 GO TO 150 C----------------------------------------------------------------------- -C CONTROL REACHES THIS SECTION IF 3 OR MORE FAILURES HAVE OCCURED. +C CONTROL REACHES THIS SECTION IF 3 OR MORE FAILURES HAVE OCCURRED. C IF 10 FAILURES HAVE OCCURRED, EXIT WITH KFLAG = -1. C IT IS ASSUMED THAT THE DERIVATIVES THAT HAVE ACCUMULATED IN THE C YH ARRAY HAVE ERRORS OF THE WRONG ORDER. HENCE THE FIRST
--- a/liboctave/util/oct-inttypes.cc +++ b/liboctave/util/oct-inttypes.cc @@ -201,7 +201,7 @@ return xop::op (xx, y); else { - // If equality occured we compare as integers. + // If equality occurred we compare as integers. if (xx == xxup) return xop::gtval; else @@ -222,7 +222,7 @@ return xop::op (xx, y); else { - // If equality occured we compare as integers. + // If equality occurred we compare as integers. if (xx == xxup) return xop::gtval; else if (xx == xxlo)