Skip to content

Commit 5e02641

Browse files
committed
Fixed init
1 parent 2f81b47 commit 5e02641

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Sources/Pgvector/HalfVector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public struct HalfVector: Equatable {
22
public var value: [Float16]
33

4-
init(_ value: [Float16]) {
4+
public init(_ value: [Float16]) {
55
self.value = value
66
}
77

Sources/Pgvector/Vector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public struct Vector: Equatable {
22
public var value: [Float]
33

4-
init(_ value: [Float]) {
4+
public init(_ value: [Float]) {
55
self.value = value
66
}
77

Tests/PgvectorTests/HalfVectorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import Pgvector
12
import Testing
2-
@testable import Pgvector
33

44
final class HalfVectorTests {
55
@Test func equatable() {

Tests/PgvectorTests/PostgresClientKitTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Foundation
2+
import Pgvector
3+
import PgvectorClientKit
24
import PostgresClientKit
35
import Testing
4-
@testable import Pgvector
5-
@testable import PgvectorClientKit
66

77
final class PostgresClientKitTests {
88
@Test func example() throws {

Tests/PgvectorTests/VectorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import Pgvector
12
import Testing
2-
@testable import Pgvector
33

44
final class VectorTests {
55
@Test func equatable() {

0 commit comments

Comments
 (0)