mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +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
|
@Override
|
||||||
public boolean isDifferentiable() {
|
public boolean isDifferentiable() {
|
||||||
return input instanceof DerivativeNoiseSampler dSampler && dSampler.isDifferentiable();
|
return DerivativeNoiseSampler.isDifferentiable(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user