remove commented out code

This commit is contained in:
jacekpoz 2024-06-22 19:19:02 +02:00
parent 01a7a76f04
commit e3b438186c
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -49,12 +49,6 @@ impl Graph {
pub fn new(size: usize) -> Self {
Self {
size,
// edges: (0..size).map(|u|
// (0..size).map(|v|
// Edge { src: u, dst: v, weight: 0.0 }
// ).collect::<Vec<_>>()
// ).flatten()
// .collect::<Vec<_>>(),
edges: (0..size)
.map(|_| (0..size)
.map(|_| 0.0)