Skip to content

Wrong weight vector size (Bug) #118

@as-amd

Description

@as-amd

C Example 2 illustrates the use of weights, but the length of this vector is n=2 instead of the correct number ( # of residuals) m=5.
Re: https://github.com/ralna/RALFit/blob/47f740a5894cbd04b9ac7d837bca7a34cc12bb61/libRALFit/example/C/nlls_example2.c#L94C11-L94C21.

Issues comes up when compiling in debug mode (ASAN)

NB: This is fixed in a PR to be pushed.

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