Skip to content

Commit e1e79a3

Browse files
committed
Update PgVectorModule.kt
1 parent 4392020 commit e1e79a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pgvector-module/src/main/kotlin/griffio/PgVectorModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ private class PgVectorTypeResolver(private val parentResolver: TypeResolver) : P
5151

5252
override fun definitionType(typeName: SqlTypeName): IntermediateType = with(typeName) {
5353
check(this is PgVectorTypeName)
54-
val type = (when {
54+
val type = when {
5555
vectorDataType != null -> IntermediateType(PgVectorSqlType.VECTOR)
5656
else -> super.definitionType(typeName)
57-
})
57+
}
5858
return type
5959
}
6060

0 commit comments

Comments
 (0)