Skip to content

Commit 6e8c837

Browse files
xheonManuel Dahnert
andauthored
Fix bit-wise and (#776)
Co-authored-by: Manuel Dahnert <[email protected]>
1 parent e7e197f commit 6e8c837

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gsplat/strategy/default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def step_post_backward(
192192
state["radii"].zero_()
193193
torch.cuda.empty_cache()
194194

195-
if step % self.reset_every == 0 & step > 0:
195+
if step % self.reset_every == 0 and step > 0:
196196
reset_opa(
197197
params=params,
198198
optimizers=optimizers,

0 commit comments

Comments
 (0)