Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 5454552

Browse files
authored
Merge pull request #392 from ARudiuk/replace_warn
Replaced deprecated fxn
2 parents e3efbec + 968d96d commit 5454552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pystan/stanfit4model.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,9 @@ cdef class StanFit4Model:
560560
"""
561561
self._verify_has_samples()
562562
if inc_warmup is True and permuted is True:
563-
logging.warn("`inc_warmup` ignored when `permuted` is True.")
563+
logging.warning("`inc_warmup` ignored when `permuted` is True.")
564564
if dtypes is None and permuted is False:
565-
logging.warn("`dtypes` ignored when `permuted` is False.")
565+
logging.warning("`dtypes` ignored when `permuted` is False.")
566566

567567
if pars is None:
568568
pars = self.sim['pars_oi']

0 commit comments

Comments
 (0)