Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed Mar 17, 2024
1 parent 1c09ee2 commit 81cf454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/benchmark/Entropy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func testEntropySpeed(b *testing.B, name string) error {

ec.Dispose()

if _, err := obs.Close(); err != nil {
if err := obs.Close(); err != nil {
msg := fmt.Sprintf("Error during close: %v\n", err)
b.Fatalf(msg)
}
Expand All @@ -157,7 +157,7 @@ func testEntropySpeed(b *testing.B, name string) error {

ed.Dispose()

if _, err := ibs.Close(); err != nil {
if err := ibs.Close(); err != nil {
msg := fmt.Sprintf("Error during close: %v\n", err)
b.Fatalf(msg)
}
Expand Down

0 comments on commit 81cf454

Please sign in to comment.