need this for models with params
This commit is contained in:
parent
5a32c72362
commit
91652e5b44
|
@ -36,6 +36,10 @@ accumulate!(x, Δ) = x
|
|||
|
||||
@forward Param.x Base.size
|
||||
|
||||
function Base.show(io::IO, p::Param)
|
||||
print(io, "Param", size(p.x))
|
||||
end
|
||||
|
||||
# Anonymous models
|
||||
|
||||
export Capacitor
|
||||
|
|
Loading…
Reference in New Issue