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

/remoll/SD/det2000/enable requires argument when I intended it not to #46

Closed
wdconinc opened this issue Nov 9, 2017 · 2 comments
Closed

Comments

@wdconinc
Copy link
Member

wdconinc commented Nov 9, 2017

/remoll/SD/det2000/enable fails, but /remoll/SD/det2000/enable true or /remoll/SD/det2000/enable false succeeds. What's .SetDefaultValue("true") for then? Argh, too close to (i.e. past) 5pm to look into the docs now.

@wdconinc
Copy link
Member Author

wdconinc commented May 2, 2018

G4GenericMessenger::DeclareMethod with a function(G4bool) parses as a function(G4int) which means that only true = 1 and false = 0 will work until fixed (and not after fixed since 1 and 0 are not valid for G4bool commands).

@wdconinc
Copy link
Member Author

wdconinc commented May 3, 2018

Fixed in 7195dcc by adding omittable = true

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