Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functions with different numbers of arguments #7

Open
zsunberg opened this issue Nov 6, 2019 · 1 comment
Open

functions with different numbers of arguments #7

zsunberg opened this issue Nov 6, 2019 · 1 comment

Comments

@zsunberg
Copy link
Member

zsunberg commented Nov 6, 2019

Right now, if you do

m = QuickMDP(
    ...
    reward = (s, a) -> s^2
    ...
)
reward(m, s, a, sp)

will not work.

Not sure what the best way to fix this is.

@zsunberg
Copy link
Member Author

zsunberg commented Apr 2, 2021

This is fixed for reward, but it seems to be a problem with obs_weight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant