Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
itsdfish committed Nov 12, 2020
1 parent f55b4ca commit 463dbca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ACTRModels"
uuid = "c095b0ea-a6ca-5cbd-afed-dbab2e976880"
authors = ["itsdfish"]
version = "0.4.3"
version = "0.4.4"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand Down
4 changes: 2 additions & 2 deletions src/MemoryFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -474,8 +474,8 @@ Returns a miscelleneous parameter
"""
function get_parm(actr, p)
misc = actr.declarative.parms.misc
if p in misc
if p in keys(misc)
return misc[p]
end
return getfield(actr.declarative.parms, p)
end
end

0 comments on commit 463dbca

Please sign in to comment.