From a56b54b91442e53a2ac3f68d0c2e568af536f1dc Mon Sep 17 00:00:00 2001 From: Ralph Gasser Date: Sun, 2 Jun 2024 14:03:50 +0200 Subject: [PATCH] Fixes a bug with the naming of the inner product distance. --- .../functions/math/distance/binary/InnerProductDistance.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cottontaildb-core/src/main/kotlin/org/vitrivr/cottontail/core/queries/functions/math/distance/binary/InnerProductDistance.kt b/cottontaildb-core/src/main/kotlin/org/vitrivr/cottontail/core/queries/functions/math/distance/binary/InnerProductDistance.kt index 26e2b35b9..86cf7078d 100644 --- a/cottontaildb-core/src/main/kotlin/org/vitrivr/cottontail/core/queries/functions/math/distance/binary/InnerProductDistance.kt +++ b/cottontaildb-core/src/main/kotlin/org/vitrivr/cottontail/core/queries/functions/math/distance/binary/InnerProductDistance.kt @@ -21,7 +21,7 @@ import org.vitrivr.cottontail.core.values.* sealed class InnerProductDistance>(type: Types.Vector): VectorDistance(type) { companion object: FunctionGenerator { - val FUNCTION_NAME = Name.FunctionName.create("dotp") + val FUNCTION_NAME = Name.FunctionName.create("innerproduct") override val signature: Signature.Open get() = Signature.Open(FUNCTION_NAME, arrayOf(Argument.Vector, Argument.Vector))