Skip to content

Commit

Permalink
Close second part of issue statsmodels#1720
Browse files Browse the repository at this point in the history
  • Loading branch information
kshedden committed Jun 3, 2014
1 parent 1ac5ecf commit a9d495b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions statsmodels/genmod/generalized_linear_model.py
Expand Up @@ -427,9 +427,9 @@ def fit(self, start_params=None, maxiter=100, method='IRLS', tol=1e-8,
# exposure has already been logged if present.
offset = 0.
if hasattr(self, 'offset'):
offset = self.offset.copy()
offset = self.offset
if hasattr(self, 'exposure'):
offset += self.exposure
offset = offset + self.exposure

wlsexog = self.exog
if start_params is None:
Expand Down

0 comments on commit a9d495b

Please sign in to comment.