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

ebnm_check_fn() should check that function can handle x = c(-10, 0, 10) #137

Open
willwerscheid opened this issue Nov 8, 2024 · 1 comment

Comments

@willwerscheid
Copy link
Member

this is the test value of x used by flashier. If it cannot handle it then a message should be printed with a suggested solution, e.g., include

if (length(x) == 3){ ### just to satisfy check of custom function
    return (ebnm_flat(x))
  }
@willwerscheid
Copy link
Member Author

also update custom ebnm tutorial to mention this issue

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