Explicit parentheses around some logical operators (#1732)

* fix some warnings

* format
This commit is contained in:
Valentin Roussellet
2024-12-24 07:02:20 -08:00
committed by GitHub
parent ebfe64b92d
commit 88f993da38
5 changed files with 6 additions and 6 deletions

View File

@@ -119,7 +119,7 @@ void array::eval() {
}
bool array::is_tracer() const {
return array_desc_->is_tracer && in_tracing() || retain_graph();
return (array_desc_->is_tracer && in_tracing()) || retain_graph();
}
void array::set_data(allocator::Buffer buffer, Deleter d) {