From 99767f137d57ad508d28f0957f358b971d67c482 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Tue, 26 Sep 2023 20:05:49 -0500 Subject: [PATCH] Removed generic from DistanceFunctions, now inherits from Umap --- UMAP/Umap.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UMAP/Umap.cs b/UMAP/Umap.cs index 5498d28..a05a2d2 100644 --- a/UMAP/Umap.cs +++ b/UMAP/Umap.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; @@ -627,7 +627,7 @@ private static ProgressReporter ScaleProgressReporter(ProgressReporter progressR return progress => progressReporter((range * progress) + start); } - public static class DistanceFunctions where T : IUmapDataPoint + public static class DistanceFunctions { public static float Cosine(T lhs, T rhs) {