Skip to content

Commit

Permalink
Fix syntax bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Sep 24, 2024
1 parent 45570de commit 8ce3480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions policyengine_core/simulations/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,8 +1487,8 @@ def subsample(
Simulation: The quantized simulation.
"""
# Set default key if not provided
if key is None:
key = self.dataset.name
if seed is None:
seed = self.dataset.name

# Set default time period if not provided
if time_period is None:
Expand Down

0 comments on commit 8ce3480

Please sign in to comment.