We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47bdc68 commit 8f3f63dCopy full SHA for 8f3f63d
1 file changed
src/main/java/com/pgvector/PGsparsevec.java
@@ -152,8 +152,7 @@ public void setValue(String s) throws SQLException {
152
indices = new int[elements.length];
153
values = new float[elements.length];
154
155
- for (int i = 0; i < elements.length; i++)
156
- {
+ for (int i = 0; i < elements.length; i++) {
157
String[] ep = elements[i].split(":", 2);
158
indices[i] = Integer.parseInt(ep[0]) - 1;
159
values[i] = Float.parseFloat(ep[1]);
0 commit comments