mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
Use proper static isDifferentiable method
This commit is contained in:
@@ -56,7 +56,7 @@ public class BrownianMotionSampler extends FractalNoiseFunction {
|
||||
|
||||
@Override
|
||||
public boolean isDifferentiable() {
|
||||
return input instanceof DerivativeNoiseSampler dSampler && dSampler.isDifferentiable();
|
||||
return DerivativeNoiseSampler.isDifferentiable(input);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user