Skip to content

Commit

Permalink
Removed generic from DistanceFunctions, now inherits from Umap<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Sep 27, 2023
1 parent aa8fe99 commit 99767f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UMAP/Umap.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
Expand Down Expand Up @@ -627,7 +627,7 @@ private static ProgressReporter ScaleProgressReporter(ProgressReporter progressR
return progress => progressReporter((range * progress) + start);
}

public static class DistanceFunctions<T> where T : IUmapDataPoint
public static class DistanceFunctions
{
public static float Cosine(T lhs, T rhs)
{
Expand Down

0 comments on commit 99767f1

Please sign in to comment.