Skip to content

Commit 080354e

Browse files
Fix typos
1 parent 5e6b451 commit 080354e

File tree

16 files changed

+18
-18
lines changed

16 files changed

+18
-18
lines changed

benchmark/rescue_idz/230406/fortran/common/powalg.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ subroutine qrexc_Rdiag(A, Q, Rdiag, i) ! Used in COBYLA
362362
! After this is done for each K = 1, ..., N-1, we obtain the QR factorization of the matrix that
363363
! rearranges columns [I, I+1, ..., N] of A as [I+1, ..., N, I].
364364
! Powell's code, however, is slightly different: before everything, he first exchanged columns K and
365-
! K+1 of Q (as well as rows K and K+1 of R). This makes sure that the entires of the update RDIAG
365+
! K+1 of Q (as well as rows K and K+1 of R). This makes sure that the entries of the updated RDIAG
366366
! are all positive if it is the case for the original RDIAG.
367367
do k = i, n-1_IK
368368
!hypt = hypotenuse(Rdiag(k+1), inprod(Q(:, k), A(:, k+1)))

benchmark/rescue_idz/230406/fortran/original/bobyqa/prelim.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SUBROUTINE PRELIM (N,NPT,X,XL,XU,RHOBEG,IPRINT,MAXFUN,XBASE,
1212
C GOPT is usually the gradient of the quadratic model at XOPT+XBASE, but
1313
C it is set by PRELIM to the gradient of the quadratic model at XBASE.
1414
C If XOPT is nonzero, BOBYQB will change it to its usual value later.
15-
C NF is maintaned as the number of calls of CALFUN so far.
15+
C NF is maintained as the number of calls of CALFUN so far.
1616
C KOPT will be such that the least calculated value of F so far is at
1717
C the point XPT(KOPT,.)+XBASE in the space of the variables.
1818
C

benchmark/rescue_idz/230406/fortran/original/newuoa/bigden.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ SUBROUTINE BIGDEN (N,NPT,XOPT,XPT,BMAT,ZMAT,IDZ,NDIM,KOPT,
138138
WVEC(IP,4)=ZERO
139139
120 WVEC(IP,5)=ZERO
140140
C
141-
C Put the coefficents of THETA*Wcheck in PROD.
141+
C Put the coefficients of THETA*Wcheck in PROD.
142142
C
143143
DO 190 JC=1,5
144144
NW=NPT

benchmark/rescue_idz/230406/matlab/interfaces/private/preprima.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@
884884
wid = sprintf('%s:InvalidSolver', invoker);
885885
wmsg = sprintf('%s: a solver different from %s is specified; it is ignored.', invoker, invoker);
886886
% Do not display the value of solver in last message, because it
887-
% can be 'unknow_solver'.
887+
% can be 'unknown_solver'.
888888
warning(wid, '%s', wmsg);
889889
warnings = [warnings, wmsg];
890890
end

benchmark/rescue_idz/230406/norma/fortran/common/powalg.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ subroutine qrexc_Rdiag(A, Q, Rdiag, i) ! Used in COBYLA
358358
! After this is done for each K = 1, ..., N-1, we obtain the QR factorization of the matrix that
359359
! rearranges columns [I, I+1, ..., N] of A as [I+1, ..., N, I].
360360
! Powell's code, however, is slightly different: before everything, he first exchanged columns K and
361-
! K+1 of Q (as well as rows K and K+1 of R). This makes sure that the entires of the update RDIAG
361+
! K+1 of Q (as well as rows K and K+1 of R). This makes sure that the entries of the updated RDIAG
362362
! are all positive if it is the case for the original RDIAG.
363363
do k = i, n - 1_IK
364364
!hypt = hypotenuse(Rdiag(k + 1), inprod(Q(:, k), A(:, k + 1)))

benchmark/rescue_idz/230406/norma/fortran/original/bobyqa/prelim.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SUBROUTINE PRELIM (N,NPT,X,XL,XU,RHOBEG,IPRINT,MAXFUN,XBASE,
1212
C GOPT is usually the gradient of the quadratic model at XOPT+XBASE, but
1313
C it is set by PRELIM to the gradient of the quadratic model at XBASE.
1414
C If XOPT is nonzero, BOBYQB will change it to its usual value later.
15-
C NF is maintaned as the number of calls of CALFUN so far.
15+
C NF is maintained as the number of calls of CALFUN so far.
1616
C KOPT will be such that the least calculated value of F so far is at
1717
C the point XPT(KOPT,.)+XBASE in the space of the variables.
1818
C

benchmark/rescue_idz/230406/norma/fortran/original/newuoa/bigden.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ SUBROUTINE BIGDEN (N,NPT,XOPT,XPT,BMAT,ZMAT,IDZ,NDIM,KOPT,
138138
WVEC(IP,4)=ZERO
139139
120 WVEC(IP,5)=ZERO
140140
C
141-
C Put the coefficents of THETA*Wcheck in PROD.
141+
C Put the coefficients of THETA*Wcheck in PROD.
142142
C
143143
DO 190 JC=1,5
144144
NW=NPT

benchmark/rescue_idz/230406/norma/matlab/interfaces/private/preprima_norma.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@
884884
wid = sprintf('%s:InvalidSolver', invoker);
885885
wmsg = sprintf('%s: a solver different from %s is specified; it is ignored.', invoker, invoker);
886886
% Do not display the value of solver in last message, because it
887-
% can be 'unknow_solver'.
887+
% can be 'unknown_solver'.
888888
warning(wid, '%s', wmsg);
889889
warnings = [warnings, wmsg];
890890
end

fortran/common/powalg.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ subroutine qrexc_Rdiag(A, Q, Rdiag, i) ! Used in COBYLA
364364
! After this is done for each K = 1, ..., N-1, we obtain the QR factorization of the matrix that
365365
! rearranges columns [I, I+1, ..., N] of A as [I+1, ..., N, I].
366366
! Powell's code, however, is slightly different: before everything, he first exchanged columns K and
367-
! K+1 of Q (as well as rows K and K+1 of R). This makes sure that the entires of the update RDIAG
367+
! K+1 of Q (as well as rows K and K+1 of R). This makes sure that the entries of the updated RDIAG
368368
! are all positive if it is the case for the original RDIAG.
369369
! Zaikun 20230903: It turns out that Powell's code does not ensure that the original RDIAG is
370370
! positive (see QRADD_RDIAG), and hence the updated RDIAG may contain negative values.

fortran/original/bobyqa/prelim.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SUBROUTINE PRELIM (N,NPT,X,XL,XU,RHOBEG,IPRINT,MAXFUN,XBASE,
1212
C GOPT is usually the gradient of the quadratic model at XOPT+XBASE, but
1313
C it is set by PRELIM to the gradient of the quadratic model at XBASE.
1414
C If XOPT is nonzero, BOBYQB will change it to its usual value later.
15-
C NF is maintaned as the number of calls of CALFUN so far.
15+
C NF is maintained as the number of calls of CALFUN so far.
1616
C KOPT will be such that the least calculated value of F so far is at
1717
C the point XPT(KOPT,.)+XBASE in the space of the variables.
1818
C

0 commit comments

Comments
 (0)