From 8b1b279f91965135ce8a79aec60fb2aef2741e6a Mon Sep 17 00:00:00 2001 From: Chris Rackauckas Date: Sat, 23 Nov 2019 09:47:16 -0500 Subject: [PATCH] output views --- src/MATLABDiffEq.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MATLABDiffEq.jl b/src/MATLABDiffEq.jl index 4c6f9a5..5509db4 100644 --- a/src/MATLABDiffEq.jl +++ b/src/MATLABDiffEq.jl @@ -74,7 +74,7 @@ function DiffEqBase.__solve( if uType <: AbstractArray timeseries = Vector{uType}(undef,length(ts)) for i=1:length(ts) - timeseries[i] = timeseries_tmp[i,:] + timeseries[i] = @view timeseries_tmp[i,:] end else timeseries = timeseries_tmp