Skip to content

Commit

Permalink
Update iQSPR_V.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stewu5 committed Apr 7, 2022
1 parent 99b3a0c commit f4e0369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xenonpy/contrib/sample_codes/iQSPR_V/iQSPR_V.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __call__(self, reservoir, beta, size=100, *, samples=None, ratio=0.5, yield_
Only yield when ``yield_lpf=Ture``.
"""

# initial samples will be randomly picked from resevoir if samples are provided
# initial samples will be randomly picked from resevoir if samples are not provided
if samples is None:
samples = np.random.choice(reservoir,size=size).tolist()
# refill samples if len(samples) not equals given size
Expand Down

0 comments on commit f4e0369

Please sign in to comment.