We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02579c1 commit 4078bfaCopy full SHA for 4078bfa
src/MongoDB.Bson/Serialization/BinaryVectorWriter.cs
@@ -39,7 +39,7 @@ public static byte[] WriteToBytes<TItem>(ReadOnlySpan<TItem> vectorData, BinaryV
39
switch (binaryVectorDataType)
40
{
41
case BinaryVectorDataType.Float32:
42
- byte[] result;
+ byte[] result;
43
var length = vectorData.Length * 4;
44
result = new byte[2 + length];
45
result[0] = (byte)binaryVectorDataType;
0 commit comments