Skip to content

Commit

Permalink
chore(typing): #36
Browse files Browse the repository at this point in the history
  • Loading branch information
cmp0xff committed Jul 24, 2024
1 parent bc73c33 commit ead678b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hamilflow/models/discrete/d0/free_particle.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(
self.initial_condition = FreeParticleIC.model_validate(initial_condition)

@cached_property
def definition(self) -> dict[str, dict[str, int | float | Sequence[int | float]]]:
def definition(self) -> dict[str, dict[str, int | float | list[int | float]]]:
"""model params and initial conditions defined as a dictionary."""
return dict(initial_condition=self.initial_condition.model_dump())

Expand Down

0 comments on commit ead678b

Please sign in to comment.