Skip to content

Commit

Permalink
Resolving Conflicting Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelnehrer02 committed Jan 29, 2024
1 parent a291c9a commit 31ddb15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ version = "1.0.0-DEV"

[deps]
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
julia = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/ActiveInference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export # maths.jl
sample_category,
softmax,
spm_log_single,
entropy,
entropy_A,
kl_divergence,
get_joint_likelihood,
dot_likelihood,
Expand Down
2 changes: 1 addition & 1 deletion src/maths.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ end


"""Function for Calculating Entropy of A-Matrix"""
function entropy(A)
function entropy_A(A)

H_A = .- sum((A .* spm_log_single(A)), dims = 1)

Expand Down

0 comments on commit 31ddb15

Please sign in to comment.