Skip to content

change wsp.enable_min_nvols default value #2

Description

@armenbod

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions