diff --git a/src/mark_matrix.rs b/src/mark_matrix.rs index eeb6e95..6e372e8 100644 --- a/src/mark_matrix.rs +++ b/src/mark_matrix.rs @@ -1,6 +1,7 @@ use square_matrix::SquareMatrix; #[derive(Clone, Copy, PartialEq, Eq, Debug)] +#[repr(u8)] enum Mark { None, Star, @@ -12,9 +13,6 @@ pub struct MarkMatrix { marks: SquareMatrix, } -// XXX: Use two bitmatrices. Each row has a fixed number of u64 integers. Use -// bit-search - impl MarkMatrix { pub fn new(n: usize) -> MarkMatrix { MarkMatrix {