need this for models with params

This commit is contained in:
Mike J Innes 2016-11-14 15:42:29 +00:00
parent 5a32c72362
commit 91652e5b44
1 changed files with 4 additions and 0 deletions

View File

@ -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