Skip to content

Commit

Permalink
v__0.1.0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-jacquet committed Jan 30, 2024
1 parent bfc0d0c commit 2045091
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mec/gt.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def __init__(self, M_i_j, q_i, z_names_i = None, w_names_i = None):
raise ValueError("M_i_j must be square.")
if M_i_j.shape[0] != len(q_i):
raise ValueError("M_i_j and q_i must be of the same size.")
if z_names_i = None :
if z_names_i is None :
z_names_i = ['z_'+str(i+1) for i in range(self.nbi)]
if w_names_i = None :
if w_names_i is None :
w_names_i = ['w_'+str(i+1) for i in range(self.nbi)]
self.M_i_j, self.q_i = M_i_j, q_i
self.nbi = len(q_i)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="mec",
version="0.1.0.22",
version="0.1.0.23",
authors=["Alfred Galichon"],
author_email="[email protected]",
licence="",
Expand Down

0 comments on commit 2045091

Please sign in to comment.