Skip to content

Probably minor issue: repeated elseif with same condition #138

@chsquare

Description

@chsquare

Hi Bene and Olaf,

I just noticed that cfg.method if-block within uf_glmfit function has two times 'matlab' and two times 'pinv' with slightly different code.

if strcmp(cfg.method,'matlab') % save time

elseif strcmp(cfg.method,'matlab') % save time

elseif strcmp(cfg.method,'pinv')

elseif strcmp(cfg.method,'pinv')

The output is probably (more or less) the same in both cases, but perhaps still something you want to fix.

Best,
Christoph

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