Skip to content

Commit

Permalink
Attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
MargaretDuff committed Sep 25, 2024
1 parent 238fc28 commit 3725bd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Wrappers/Python/test/test_stepsizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ def test_warmstart_true(self):
alg = GD(initial=self.ig.allocate(0), objective_function=self.f,
update_objective_interval=1, step_size=rule)
alg.update()
self.assertFalse(rule.alpha_orig == 5000)
self.assertTrue(rule.alpha_orig == rule.alpha)
self.assertFalse(rule.alpha == 5000)

def test_warmstart_false(self):
rule = ArmijoStepSizeRule(warmstart=False, alpha=5000)
Expand Down

0 comments on commit 3725bd8

Please sign in to comment.