Skip to content

Commit

Permalink
Fix nms test
Browse files Browse the repository at this point in the history
  • Loading branch information
dme-compunet committed Nov 6, 2024
1 parent 4cf6ec9 commit ce93a1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/YoloSharp.Tests/NonMaxSuppressionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void NonMaxSuppressionTest()
},
];

var selected = nonMaxSuppression.Suppress(boxes.AsSpan(), .5f);
var selected = nonMaxSuppression.Apply(boxes.AsSpan(), .5f);

Assert.Equal([1, 2, 3], selected.Select(x => x.Index).Order());
}
Expand Down
2 changes: 1 addition & 1 deletion Source/YoloSharp.Tests/Usings.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
global using Compunet.YoloSharp;
global using Compunet.YoloSharp.Metadata;
global using Compunet.YoloSharp.Parsing;
global using Compunet.YoloSharp.Parsers.Base;
global using Compunet.YoloSharp.Services;
global using SixLabors.ImageSharp;
global using System.ComponentModel;
Expand Down

0 comments on commit ce93a1c

Please sign in to comment.