From 2ee99d5bbd6e167a3d88125606e919508421befa Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Fri, 25 Jan 2019 10:22:35 -0500 Subject: [PATCH] missing isinplace --- src/noise_interfaces/noise_process_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/noise_interfaces/noise_process_interface.jl b/src/noise_interfaces/noise_process_interface.jl index af02f48..b5e89fe 100644 --- a/src/noise_interfaces/noise_process_interface.jl +++ b/src/noise_interfaces/noise_process_interface.jl @@ -238,7 +238,7 @@ end end W.dt = dtnew else # RSwM3 - if !(typeof(W.dW) <: AbstractArray) || typeof(W.dW) <: SArray + if isinplace(W) dttmp = 0.0; W.dWtmp = zero(W.dW) if W.Z != nothing W.dZtmp = zero(W.dZtmp)