Skip to content

Commit

Permalink
Bugfix for Line 162 of mdm.py (ASC Constraint)
Browse files Browse the repository at this point in the history
  • Loading branch information
justanothergithubber committed Feb 15, 2019
1 parent b4c6ecb commit ab66050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="mdmpy",
version="0.0.15.12",
version="0.0.15.13",
author="mdmpy Authors",
author_email="mdmpyatgithub@gmail.com",
description="A package that implements Marginal Distribution Models (MDMs)",
Expand Down
2 changes: 1 addition & 1 deletion src/mdmpy/mdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def model_init(self,
if use_ASCs:
self.m.ASC = aml.Var(self.m.K)
if ASC_fixed_to_zero:
self.m.ASCConstr = aml.Constraint(self.m.ASC[ASC_fixed_to_zero] == 0)
self.m.ASCConstr = aml.Constraint(expr=self.m.ASC[ASC_fixed_to_zero] == 0)

# Variable for handling heteroscedascity
if heteroscedastic:
Expand Down

0 comments on commit ab66050

Please sign in to comment.