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

Commit fdfd5f7

Browse files
authored
Updated pystan.misc.stansummary
Updated `__unicode__` and `__str__` to use `pystan.misc.stansummary` functions
1 parent 875e880 commit fdfd5f7

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
@@ -614,10 +614,10 @@ cdef class StanFit4Model:
614614

615615
def __unicode__(self):
616616
# for Python 2.x
617-
return pystan.misc._print_stanfit(self)
617+
return pystan.misc.stansummary(self)
618618

619619
def __str__(self):
620-
s = pystan.misc._print_stanfit(self)
620+
s = pystan.misc.stansummary(self)
621621
return s.encode('utf-8') if PY2 else s
622622

623623
def __repr__(self):

0 commit comments

Comments
 (0)