Remove unneeded check

This commit is contained in:
Cheng
2025-07-31 17:11:34 -07:00
parent b74bc5e634
commit 1712e3c2f8

View File

@@ -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();
}