# Error "type DiffEqArray has no field indepsym"

**URL:** https://discourse.julialang.org/t/error-type-diffeqarray-has-no-field-indepsym/97618
**Category:** New to Julia
**Tags:** question, package
**Created:** [April 18, 2023, 2:52pm UTC](https://discourse.julialang.org/t/error-type-diffeqarray-has-no-field-indepsym/97618 "2023-04-18T14:52:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Random\_0826](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/random_0826/32/49128_2.png) [@Random\_0826](https://discourse.julialang.org/u/Random_0826)
#### Post date: [April 18, 2023, 2:52pm UTC](https://discourse.julialang.org/t/error-type-diffeqarray-has-no-field-indepsym/97618/1 "2023-04-18T14:52:53Z")

</div>

Hello. I am using Julia for my research, and here’s what I am using.

> **[Using MomentClosure · MomentClosure.jl](https://augustinas1.github.io/MomentClosure.jl/dev/tutorials/using_momentclosure/)**
>
> Documentation for MomentClosure.jl.

I am trying to run exactly same code in the website above. Everything goes well except the last one. When I run a code, I got :

> using DiffEqBase.EnsembleAnalysis  
> means\_SSA = timeseries\_steps\_mean(sol\_SSA)  
> plot!(means\_SSA, lw=2, labels=[“SSA μ₁₀(t)” “SSA μ₀₁(t)”], linestyle=:dash,  
> linecolor=[1 2], background\_color\_legend=nothing, legend=:bottomright)

> type DiffEqArray has no field indepsym  
> Stacktrace:  
> [1] getproperty  
> @ .\Base.jl:38 [inlined]  
> [2] macro expansion  
> @ C:\Users\tjrgh.julia\packages\RecursiveArrayTools\VzH8Y\src\vector\_of\_array.jl:439 [inlined]  
> [3] apply\_recipe(plotattributes::AbstractDict{Symbol, Any}, VA::RecursiveArrayTools.AbstractDiffEqArray)  
> @ RecursiveArrayTools C:\Users\tjrgh.julia\packages\RecipesBase\z10lo\src\RecipesBase.jl:300  
> [4] \_process\_userrecipes!(plt::Any, plotattributes::Any, args::Any)  
> @ RecipesPipeline C:\Users\tjrgh.julia\packages\RecipesPipeline\XxUHt\src\user\_recipe.jl:38  
> [5] recipe\_pipeline!(plt::Any, plotattributes::Any, args::Any)  
> @ RecipesPipeline C:\Users\tjrgh.julia\packages\RecipesPipeline\XxUHt\src\RecipesPipeline.jl:72  
> [6] \_plot!(plt::Plots.Plot, plotattributes::Any, args::Any)  
> @ Plots C:\Users\tjrgh.julia\packages\Plots\B5j7d\src\plot.jl:223  
> [7] #plot!#193  
> @ C:\Users\tjrgh.julia\packages\Plots\B5j7d\src\plot.jl:213 [inlined]  
> [8] plot!(args::Any; kw::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T\<:Tuple{Vararg{Any, N}}})  
> @ Plots C:\Users\tjrgh.julia\packages\Plots\B5j7d\src\plot.jl:202  
> [9] top-level scope  
> @ In[25]:4

I am running exactly same code, but this error occurs…What is the problem??

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [April 19, 2023, 1:47pm UTC](https://discourse.julialang.org/t/error-type-diffeqarray-has-no-field-indepsym/97618/2 "2023-04-19T13:47:30Z")

</div>

MomentClosure needs a bunch of updates. I’ll update it and see if I can move it into the SciML org so we can keep it maintained. It’s not in the SciML org and was built by outside folk so it’s not really part of our orbit, but I’d be happy to make it so.

I’ll update this in [Check Catalyst 13 by ChrisRackauckas · Pull Request #48 · augustinas1/MomentClosure.jl · GitHub](https://github.com/augustinas1/MomentClosure.jl/pull/48)

---

<div class="post-metadata">

### Author: ![augustinas1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/augustinas1/32/49512_2.png) [@augustinas1](https://discourse.julialang.org/u/augustinas1)
#### Post date: [May 4, 2023, 10:42pm UTC](https://discourse.julialang.org/t/error-type-diffeqarray-has-no-field-indepsym/97618/3 "2023-05-04T22:42:50Z")

</div>

Hi, sorry I saw this thread only now. Just noting that this error is not directly related to MomentClosure - see [this open issue](https://github.com/SciML/DiffEqBase.jl/issues/905).

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [May 11, 2023, 8:55am UTC](https://discourse.julialang.org/t/error-type-diffeqarray-has-no-field-indepsym/97618/4 "2023-05-11T08:55:41Z")

</div>

And RecursiveArrayTools should be patched now. If you update MomentClosure and RAT (i.e. just `]st up`) this should all be good now.
