Skip to content

Commit

Permalink
Merge pull request #15 from exowanderer/patch-1
Browse files Browse the repository at this point in the history
Changed `==` to `is` on line 397
  • Loading branch information
SebastianBocquet committed Nov 13, 2018
2 parents 3bce1aa + 7c50cc8 commit 6765e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygtc/pygtc.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def plotGTC(chains, **kwargs):

# Manage the sample point weights
weights = kwargs.pop('weights', None)
if weights==None:
if weights is None:
# Set unit weights if no weights are provided
weights = [np.ones(len(chains[i])) for i in range(nChains)]
else:
Expand Down

0 comments on commit 6765e2f

Please sign in to comment.