Skip to content

Potential Logic Issue in nonneg_lsq() #35

@hayakb95

Description

@hayakb95

If you try to call nonneg_lsq() with "gram = true" and "alg = pivot" then the logic will set "alg = pivot_cache".
This will then force an error in the next logic block "throw(ArgumentError("Specified algorithm $alg not recognized."))" as "alg == :pivot_cache" doesn't appear anywhere.
I think a simple fix for this is to have the first portion set "alg = pivot" (already done) and "variant = cache".

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