Skip to content

Conversation

@ChrisRackauckas
Copy link
Member

Fixes #81

@RalphAS
Copy link

RalphAS commented Apr 15, 2022

The permutations for the balance! version should be

   if ilo > 1       # apply lower permutations in reverse order
        for j in (ilo-1):-1:1; rcswap!(j, B.prow[j], X) end
    end
    if ihi < n       # apply upper permutations in forward order
        for j in (ihi+1):n;    rcswap!(j, B.pcol[j-ihi], X) end
    end

@ChrisRackauckas ChrisRackauckas merged commit 05a8a73 into master Apr 15, 2022
@ChrisRackauckas ChrisRackauckas deleted the fallback branch April 15, 2022 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error using expv with Turing.jl

3 participants