You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying out nalgebra crate, many functions are reported as error, but running cargo run from command line works.
Cargo.toml:
[package]
name = "rnn2"
version = "0.1.0"
edition = "2018"
[dependencies]
nalgebra = "0.29"
main.rs:
use nalgebra::DMatrix;
fn main() {
let mut result: DMatrix<f32> = DMatrix::zeros(2, 3);
}
DMatrix::zeros(2, 3) is reported as error with expected 0 arguments, found 2 but actually the function exists and is correct, as confirmed by running compiler from terminal.
Trying out nalgebra crate, many functions are reported as error, but running
cargo run
from command line works.Cargo.toml:
main.rs:
DMatrix::zeros(2, 3)
is reported as error withexpected 0 arguments, found 2
but actually the function exists and is correct, as confirmed by running compiler from terminal.rust analyzer version: v0.2.702
VS Code version: 1.59
rustup version: 1.24.3
The text was updated successfully, but these errors were encountered: