We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17b797f commit 3279b70Copy full SHA for 3279b70
blas/src/test/java/dev/ludovic/netlib/blas/BLASTest.java
@@ -49,7 +49,7 @@ private static Stream<Arguments> BLASImplementations() {
49
);
50
51
String[] fullVersion = System.getProperty("java.version").split("[+.\\-]+", 2);
52
- int major = Integer.parseInt(fullVersion[0]);
+ int major = Integer.parseInt(fullVersion[0]) > 1 ? Integer.parseInt(fullVersion[0]) : Integer.parseInt(fullVersion[0]);
53
if (major >= 8) {
54
instances = Stream.concat(instances, Stream.of(
55
Arguments.of(dev.ludovic.netlib.blas.Java8BLAS.getInstance())
0 commit comments