Skip to content

Drotmg incorrect result #365

Closed
Closed
@btracey

Description

@btracey

In rotmg.c, lines 146 and 179 should say
"else if(dflag == ONE)"
rather than just "else"

The first pass through the code, if the flag is zero, it sets d11, d12, and sets dflag to -1. If it needs to go through the while loop a second time, dflag is now -1, (which is not 1), and so it changes dh21 to -1 and dh12 to -1. This should not happen. ATLAS has this flag check, as does the accelerate framework on OSX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions