Skip to content

Commit

Permalink
minor errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Jan 20, 2017
1 parent 0ad933e commit 5c5e53a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py/dt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ def array_avail(self, *, var=None, dtype=numpy.bool_, **kwargs):
return self.array_idca('1', dtype=dtype, **kwargs)
if isinstance(self.idca._avail_, (_tb.Group,GroupNode)):
##!stacktuple = self.idca._avail_._v_attrs.stack
if not self.in_vault('stack._avail_'):
if (not self.in_vault('stack._avail_')) and ('stack' not in self.idca._avail_._v_attrs):
return self.array_idca('_avail_', dtype=dtype, **kwargs)
else:
stacktuple = self.from_vault('stack._avail_')
Expand Down
3 changes: 2 additions & 1 deletion py/nnnl.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,9 @@ def logger(self, *args, **kwargs):
return super().logger(*args, **kwargs)

def maximize_loglike(self, *args, **kwargs):
super().maximize_loglike(*args, **kwargs)
result = super().maximize_loglike(*args, **kwargs)
self.probability_roll_up()
return result

def xhtml_utilityspec(self, *arg, **kwarg):
return self.base_model.xhtml_utilityspec(*arg, **kwarg)
Expand Down

0 comments on commit 5c5e53a

Please sign in to comment.