Merge branch 'rougier:master' into q78_edit

This commit is contained in:
Hemanth authored and GitHub committed 2025-07-26 23:14:22 +00:00
commit 93a34b49b1
5 files changed
+215 -224

No files matched your search

+2 -2
View File
@@ -1190,8 +1190,8 @@ Z_start = (np.maximum(Z_start,0)).tolist()
R_stop = np.maximum(R_start, (R_stop - np.maximum(Z_stop-Zs,0))).tolist()
Z_stop = (np.minimum(Z_stop,Zs)).tolist()
r = [slice(start,stop) for start,stop in zip(R_start,R_stop)]
z = [slice(start,stop) for start,stop in zip(Z_start,Z_stop)]
r = tuple([slice(start,stop) for start,stop in zip(R_start,R_stop)])
z = tuple([slice(start,stop) for start,stop in zip(Z_start,Z_stop)])
R[r] = Z[z]
print(Z)
print(R)