mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-10 04:20:09 +08:00
Remove unneeded check
This commit is contained in:
@@ -43,9 +43,7 @@ void eval(array& arr) {
|
||||
}
|
||||
}
|
||||
for (auto& s : arr.siblings()) {
|
||||
if (s.data_shared_ptr() != arr.data_shared_ptr()) {
|
||||
encoder.add_temporary(s);
|
||||
}
|
||||
encoder.add_temporary(s);
|
||||
}
|
||||
encoder.maybe_commit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user