let mut all_elements: Vec::<Vec::<f32>> = vec![vec![0.0,steps],steps]; //dim steps*steps
//where steps-const defining size of array,which type u32
My attempt like this,but: expected f32, found u32
help: you can cast an u32 to f32, producing the floating point representation of the integer, rounded if necessary: steps as f32rustc(E0308) main.rs(146, 61): expected f32, found u32`