diff --git a/Project.toml b/Project.toml index 1cba112..f59bbb9 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "NonconvexCore" uuid = "035190e5-69f1-488f-aaab-becca2889735" authors = ["Mohamed Tarek and contributors"] -version = "1.4.2" +version = "1.4.3" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" diff --git a/src/models/model.jl b/src/models/model.jl index 5420ee0..889d4b0 100755 --- a/src/models/model.jl +++ b/src/models/model.jl @@ -111,7 +111,7 @@ getmax(m::AbstractModel) = m.box_max getmax(m::AbstractModel, i) = getmax(m)[i] function getinit(model::AbstractModel) - return model.init + return identity.(model.init) end function setmin!(m::AbstractModel, min)