Skip to content

Commit

Permalink
Fix bug in longSeason module.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwrechard committed Oct 22, 2019
1 parent 3df3dbb commit a2bbfd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pydlm/modeler/longSeason.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def alter(self, date, dataPoint):
pass


def updateEvaluation(self, step):
def updateEvaluation(self, step, data=None):
""" update the evaluation matrix to a specific date
This function is used when fitting the forward filter and
backward smoother
Expand Down
3 changes: 3 additions & 0 deletions pydlm/tests/testDlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,5 +476,8 @@ def testTune(self):
self.dlm5.fit()
self.dlm5.tune(maxit=10)

def testBuildFromBuilder(self):
self.dlm6.fit()

if __name__ == '__main__':
unittest.main()

0 comments on commit a2bbfd9

Please sign in to comment.