Skip to content

Parameters processing can confuse parameters with similar name #7

Closed
@javism

Description

Parameters processing can be unstable depending of the parameters name that the user choose. Now, if we have two different parameters algorithm and algorithmDefault any of them can be randomly choose to be assigned to obj.method. The issue comes from Experiment.m:

elseif strncmpi('algorithm',nueva_linea, 3),

Causes to compare only using the first lines. A quick fix can be to use length(), so that:

elseif strncmpi('algorithm',nueva_linea, length('algorithm')),

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