Skip to content

Example fail to run? #1212

Answered by Andlon
Spammed asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this is perhaps not so clear from the documentation, but using the matrixcompare functionality requires the compare feature enabled, so that you have to write

nalgebra-sparse =  { version="0.9", features = [ "compare" ] }

Similarly, you have to do the same with nalgebra if you want to compare dense vectors/matrices.

Replies: 2 comments

Comment options

Andlon
Feb 27, 2023
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Spammed
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants