From 85345e3f8c0c6c59a5638a8310d636f49db44cc1 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 9 Apr 2024 14:41:49 -0700 Subject: [PATCH] Removed todo [skip ci] --- src/hnswutils.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hnswutils.c b/src/hnswutils.c index 6d2cf4f..fc74ac3 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -222,10 +222,7 @@ HnswNormValue(FmgrInfo *procinfo, Oid collation, Datum *value, HnswType type) HalfVector *result = InitHalfVector(v->dim); for (int i = 0; i < v->dim; i++) - { - /* TODO Fix */ result->x[i] = Float4ToHalfUnchecked(HalfToFloat4(v->x[i]) / norm); - } *value = PointerGetDatum(result); }