mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
Use proper static isDifferentiable method
This commit is contained in:
1 parent
b4fa635455
commit
4393a16b2f
1 file changed
+1
-1
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user