Skip to content

Commit

Permalink
fix cpu arg in cloth_on_rigid.py example
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbone committed Dec 20, 2024
1 parent be62afe commit 7f52f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/coupling/cloth_on_rigid.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def main():
args = parser.parse_args()

########################## init ##########################
gs.init(seed=0, precision="32", logging_level="debug")
gs.init(seed=0, precision="32", logging_level="debug", backend=gs.cpu if args.cpu else gs.gpu)

scene = gs.Scene(
sim_options=gs.options.SimOptions(
Expand Down

0 comments on commit 7f52f40

Please sign in to comment.