This commit is contained in:
Mike J Innes 2016-08-23 15:03:10 +01:00
parent c4b96dbc98
commit 20b13b9a41
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ end
param(x) = Param(x, zero(x)) param(x) = Param(x, zero(x))
state(p::Param) = p state(p::Param) = p.x
state(x) = x state(x) = x
function accumulate!(p::Param, Δ) function accumulate!(p::Param, Δ)