Skip to content

Commit 50b643e

Browse files
committed
Fix signature
1 parent b1508a8 commit 50b643e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/VectorData/SqliteVec/SqliteMapper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public TRecord MapFromStorageToDataModel(DbDataReader reader, bool includeVector
5757

5858
var floats = new float[length / 4];
5959
var bytes = MemoryMarshal.Cast<float, byte>(floats);
60-
stream.ReadExactly(bytes);
60+
stream.ReadExactly([.. bytes]);
6161
#else
6262
var floats = MemoryMarshal.Cast<byte, float>((byte[])reader[ordinal]).ToArray();
6363
#endif

0 commit comments

Comments
 (0)