~mht/cra

f6e683ec48bd4ba7c42bcbec0919c955f003646a — Martin Hafskjold Thoresen 9 months ago 959b627
Issue #3: Start counting at 1, since 0 is the empty simplex.
2 files changed, 2 insertions(+), 2 deletions(-)

M Cargo.lock
M src/main.rs
M Cargo.lock => Cargo.lock +1 -1
@@ 43,7 43,7 @@ dependencies = [

[[package]]
name = "cra"
version = "0.1.0"
version = "0.2.0"
dependencies = [
 "clap",
 "lazy_static",

M src/main.rs => src/main.rs +1 -1
@@ 94,7 94,7 @@ pub fn read_boundary<R: Read>(r: R) -> Result<Vec<Simplex>, Box<dyn std::error::
        .parse::<usize>()?;
    for i in 0..num_vertices {
        simplices.push(Simplex {
            j: i,
            j: i + 1,
            faces: vec![0],
            dim: 0,
        });