Skip to content

Commit 4713473

Browse files
author
Jonathan Shook
committed
small fixes, wrong var, wrong name
1 parent 8c30186 commit 4713473

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jvector-examples/src/main/java/io/github/jbellis/jvector/example/BenchYAML.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static void main(String[] args) throws IOException {
6161
() -> new RuntimeException("Could not load dataset:" + datasetName)
6262
);
6363

64-
MultiConfig config = MultiConfig.getDefaultConfig(rawname);
64+
MultiConfig config = MultiConfig.getDefaultConfig(datasetName);
6565
allConfigs.add(config);
6666
}
6767
}

jvector-examples/src/main/java/io/github/jbellis/jvector/example/benchmarks/datasets/DataSetLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
public interface DataSetLoader {
2525
/**
2626
* Implementations of this method <EM>MUST NOT</EM> throw exceptions related to the presence or absence of a
27-
* requested database. Instead, {@link Optional} should be used. Other errors should still be indicated with
28-
* exceptions as usual, including any errors loading a database which has been found. Implementors should reliably
27+
* requested dataset. Instead, {@link Optional} should be used. Other errors should still be indicated with
28+
* exceptions as usual, including any errors loading a dataset which has been found. Implementors should reliably
2929
* return from this method, avoiding any {@link System#exit(int)} or similar calls.
3030
*
3131
* <HR/>

0 commit comments

Comments
 (0)