mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
cleanup
This commit is contained in:
parent
9f7c7b56a1
commit
a40483a2ec
2 changed files with 34 additions and 70 deletions
|
@ -27,8 +27,8 @@ impl ReferenceMatrix {
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn set(&mut self, index: usize, value: bool) {
|
||||
self.bitvec.set(index, value)
|
||||
pub fn set_row_col(&mut self, row: usize, col: usize, value: bool) {
|
||||
self.bitvec.set(row * self.length + col, value)
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue