mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-20 18:31:08 +03:00
Update compiler/src/value/integer/integer.rs
Co-authored-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
This commit is contained in:
parent
e816ae4ac3
commit
e4b88f3095
@ -91,7 +91,7 @@ impl Integer {
|
||||
}
|
||||
|
||||
pub fn is_allocated(&self) -> bool {
|
||||
self.get_bits().into_iter().any(|b| !matches!(b, Boolean::Constant(_)))
|
||||
self.get_bits().into_iter().any(|b| matches!(b, Boolean::Is(_) | Boolean::Not(_)))
|
||||
}
|
||||
|
||||
pub fn get_value(&self) -> Option<String> {
|
||||
|
Loading…
Reference in New Issue
Block a user