Skip to content

chore(lp): fix compilation error#13

Open
collares wants to merge 1 commit intoleanprover:masterfrom
collares:master
Open

chore(lp): fix compilation error#13
collares wants to merge 1 commit intoleanprover:masterfrom
collares:master

Conversation

@collares
Copy link

@collares collares commented Mar 18, 2022

/build/source/src/util/lp/permutation_matrix.h:126:44: error: cannot convert 'const std::vector<unsigned int>' to 'unsigned int*' in return
  126 |         unsigned * values() const { return m_permutation; }
      |                                            ^~~~~~~~~~~~~
      |                                            |
      |                                            const std::vector<unsigned int>

(cc @fpvandoorn, who I think was the last to maintain lean2)

@jdchristensen
Copy link

I can confirm that this PR fixed the build for me on Ubuntu 22.04. I recommend merging it.
cc @fpvandoorn

@fpvandoorn
Copy link

I am afraid that I don't have write access to this repo anymore...

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.

3 participants