Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
FranziskaN committed Oct 4, 2022
1 parent f62a076 commit e8a3ef0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/approx.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function evaluateANOVAterms(
Xt ./= 4
end

if (basis == "per")
if (basis == "per") # return matrix of size N (number data points) times number of ANOVA terms
values = zeros(ComplexF64, size(Xt)[2], length(a.U))
else
values = zeros(Float64, size(Xt)[2], length(a.U))
Expand Down Expand Up @@ -373,7 +373,7 @@ function evaluateSHAPterms(

d = size(X)[1]

if (basis == "per")
if (basis == "per") # return matrix of size N (number of data points) times d (dimension)
values = zeros(ComplexF64, size(X)[2], d)
else
values = zeros(Float64, size(X)[2], d)
Expand Down

2 comments on commit e8a3ef0

@FranziskaN
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register branch=main

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/71865

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.7 -m "<description of version>" e8a3ef0571e6e4bc109b216bc4f6d6b78a1245be
git push origin v1.1.7

Please sign in to comment.