mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-15 17:39:05 +08:00
Explicit parentheses around some logical operators (#1732)
* fix some warnings * format
This commit is contained in:
committed by
GitHub
parent
ebfe64b92d
commit
88f993da38
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user