Skip to content

Commit

Permalink
Merge pull request #429 from Dekken/bugfix
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
Mbompr authored Mar 27, 2020
2 parents d871dd0 + 82d5854 commit c6fe306
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 @@ -880,7 +880,7 @@ def run(self):


setup(name="tick",
version='0.6.0.2',
version='0.6.0.3',
author="Emmanuel Bacry, "
"Stephane Gaiffas, "
"Martin Bompaire, "
Expand Down
2 changes: 1 addition & 1 deletion tick/hawkes/simulation/base/simu_point_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _simulate(self):
elif self.end_time is None and self.max_jumps is not None:
self._pp.simulate(int(self.max_jumps))

elif self.end_time is None and self.max_jumps is None:
elif self.end_time is not None and self.max_jumps is not None:
self._pp.simulate(self.end_time, self.max_jumps)

def track_intensity(self, intensity_track_step=-1):
Expand Down

0 comments on commit c6fe306

Please sign in to comment.