-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
library("hyper2")
#> Loading required package: cubature
dirichlet(powers=c(x=3,y=2,z=4)) |> setweight('y',1.888)
#> log( (x=1)^3 * (x=1, y=1.888, z=1)^-9 * (y=1.888)^2 * (z=1)^4)
dirichlet(powers=c(x=3,y=2,z=4)) |> setweight(y=1.888)
#> Error in setweight(dirichlet(powers = c(x = 3, y = 2, z = 4)), y = 1.888): unused argument (y = 1.888)Above, the first call to setweight() works fine. I would expect the second call to return the same value, but it fails.