Skip to content

Commit 7089c9c

Browse files
committed
use sys instead of print
1 parent 2f22c1a commit 7089c9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pymc/smc/smc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import abc
1515

1616
from abc import ABC
17+
import sys
1718
from typing import Dict, cast
1819
import warnings
1920

@@ -176,7 +177,7 @@ def __init__(
176177

177178
def initialize_population(self) -> Dict[str, np.ndarray]:
178179
"""Create an initial population from the prior distribution"""
179-
print()
180+
sys.stdout.write(" ")
180181
with warnings.catch_warnings():
181182
warnings.filterwarnings(
182183
"ignore", category=UserWarning, message="The effect of Potentials"

0 commit comments

Comments
 (0)