Skip to content

Commit 3df7a95

Browse files
acharneskiCopilot
andauthored
Update src/optimizers/gd.rs
Co-authored-by: Copilot <[email protected]>
1 parent 1f7b8c1 commit 3df7a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/optimizers/gd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ mod tests {
643643
let config = GDConfig::default();
644644
let optimizer = GDOptimizer::new(config);
645645

646-
assert_eq!(optimizer.name(), "GD-Strict");
646+
assert_eq!(optimizer.name(), config.name);
647647
assert_eq!(optimizer.state.iteration(), 0);
648648
}
649649

0 commit comments

Comments
 (0)