mirror of
https://github.com/vale981/stocproc
synced 2025-03-04 17:21:42 -05:00
do not use print in TanhSinh
This commit is contained in:
parent
28c440af94
commit
e53b5f8cf7
1 changed files with 2 additions and 2 deletions
|
@ -694,7 +694,7 @@ class StocProc_TanhSinh(StocProc):
|
|||
|
||||
d = np.abs(bcf_ref_t - I) / abs(bcf_ref_t[0])
|
||||
d = np.max(d)
|
||||
print("n:{} d:{} tol:{}".format(n, d, intgr_tol))
|
||||
log.info("n:{} d:{} tol:{}".format(n, d, intgr_tol))
|
||||
|
||||
tau = np.linspace(0, (N - 1) * dt_tol, N)
|
||||
log.info(
|
||||
|
@ -726,7 +726,7 @@ class StocProc_TanhSinh(StocProc):
|
|||
plt.show()
|
||||
|
||||
assert d <= intgr_tol, "d:{}, intgr_tol:{}".format(d, intgr_tol)
|
||||
print("done!")
|
||||
log.info("done!")
|
||||
|
||||
yk, wk = method_ft.get_x_w_and_dt(n, wmax, t_max_ts)
|
||||
self.omega_k = yk
|
||||
|
|
Loading…
Add table
Reference in a new issue