mirror of https://github.com/jlizier/jidt
Fixing logic error in printing whether GPU calculation was falling back to CPU
This commit is contained in:
parent
898a04904c
commit
21ae0bdeaa
|
|
@ -440,7 +440,7 @@ public abstract class MutualInfoCalculatorMultiVariateKraskov
|
|||
int numTimePointsToComputeFor = (newObservations == null) ?
|
||||
N : newObservations[0].length;
|
||||
|
||||
if (useGPU && (newObservations == null)) {
|
||||
if (useGPU && (newObservations != null)) {
|
||||
System.out.println("Cannot use GPU for estimation based on new observations -- falling back to CPU calculation...");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue