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

change wsp.enable_min_nvols default value #2

Open
armenbod opened this issue Mar 13, 2024 · 0 comments
Open

change wsp.enable_min_nvols default value #2

armenbod opened this issue Mar 13, 2024 · 0 comments

Comments

@armenbod
Copy link

Currently I find that wsp.enable_min_nvols = 6 - I am not sure where this default is being set (either in oxasl / oxasl_enable).

This breaks

for i in range(wsp.enable_min_nvols, tdim+1, 1):
if number repeats i.e. tdim < 6, it will not loop.

It's best to keep default = None or 2. There is code already that would set it to 2 if it were None:

wsp.enable_min_nvols = wsp.ifnone("enable_min_nvols", 2)

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