Skip to content

Commit

Permalink
auto hash equals for distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
zsunberg committed Apr 27, 2017
1 parent 09787c2 commit 5249b58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Distributions
POMDPs
TikzPictures
POMDPToolbox
AutoHashEquals
2 changes: 1 addition & 1 deletion src/LightDark.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ n_actions(p::LightDark1D) = length(actions(p))

rand(rng::AbstractRNG, asp::LightDark1DActionSpace) = asp.actions[rand(rng, 1:3)]

type LDNormalStateDist
@auto_hash_equals type LDNormalStateDist
mean::Float64
std::Float64
end
Expand Down

0 comments on commit 5249b58

Please sign in to comment.