mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 16:35:50 +00:00
Use proper static isDifferentiable method
This commit is contained in:
parent
b4fa635455
commit
4393a16b2f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user