Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsbeck committed Oct 16, 2024
1 parent 8979ce4 commit 1199317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/stop_balancing_objective/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func solver(
input schema.Input,
options options,
) (runSchema.Output, error) {
options.Model.Objectives.StopBalance = 1000.0
// options.Model.Objectives.StopBalance = 1000.0
model, err := factory.NewModel(input, options.Model)
if err != nil {
return runSchema.Output{}, err
Expand Down
1 change: 1 addition & 0 deletions tests/stop_balancing_objective/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func TestGolden(t *testing.T) {
"-solve.iterations", "10000",
"-solve.rundeterministically",
"-solve.startsolutions", "1",
"-model.objectives.stopbalance", "1000.0",
},
TransientFields: []golden.TransientField{
{Key: "$.version.sdk", Replacement: golden.StableVersion},
Expand Down

0 comments on commit 1199317

Please sign in to comment.