Skip to content

Commit 58adb37

Browse files
committed
Fixed two typos.
1 parent 100bade commit 58adb37

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ More examples are given in the [examples](examples/) directory, which includes
104104

105105
## Work-precision
106106

107-
In order to investigate the work precision of the implemented solvers, we use different DAE examples with differentiation index 1, 2 and 3 as well as IDE example.
107+
In order to investigate the work precision of the implemented solvers, we use different DAE examples with differentiation index 1, 2 and 3 as well as IDE examples.
108108

109109
### Index 1 DAE - Brenan
110110

scipy_dae/integrate/_dae/radau.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@ def _step_impl(self):
682682
else:
683683
error_embedded = -self.solve_lu(LU_real, F)
684684
else:
685-
# compute implicit embedded method with `newton_iter_embedded`` iterations
686-
yp_hat_new0 = -(y / h + + b_hat1_implicit * yp + self.b_hat_implicit @ Yp) / MU_REAL
685+
# compute implicit embedded method with `newton_iter_embedded` iterations
686+
yp_hat_new0 = -(y / h + b_hat1_implicit * yp + self.b_hat_implicit @ Yp) / MU_REAL
687687
y_hat_new = y_new.copy() # initial guess
688688
for _ in range(self.newton_iter_embedded):
689689
yp_hat_new = yp_hat_new0 + y_hat_new / (h * MU_REAL)

0 commit comments

Comments
 (0)