Skip to content

Commit

Permalink
DriftOnASphereIntegrator: change default dimension to 3 (#2428)
Browse files Browse the repository at this point in the history
lower dimensions cause crash because Angle uses dimension-1 and has a
lower limit of dimension 2
  • Loading branch information
kmantel authored Jun 16, 2022
1 parent 480d2cc commit 20598ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2895,7 +2895,7 @@ class Parameters(IntegratorFunction.Parameters):
# threshold = Parameter(100.0, modulable=True)
time_step_size = Parameter(1.0, modulable=True)
previous_time = Parameter(None, initializer='starting_point', pnl_internal=True)
dimension = Parameter(2, stateful=False, read_only=True)
dimension = Parameter(3, stateful=False, read_only=True)
initializer = Parameter([0], initalizer='variable', stateful=True)
angle_function = Parameter(None, stateful=False, loggable=False)
random_state = Parameter(None, loggable=False, getter=_random_state_getter, dependencies='seed')
Expand Down

0 comments on commit 20598ad

Please sign in to comment.