Skip to content

Commit 51f4630

Browse files
committed
remove duplicate
1 parent a0c229e commit 51f4630

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

genesis/engine/solvers/rigid/array_class.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@ def __init__(self, solver):
5858
# =========================================== Collider ===========================================
5959

6060

61-
@ti.data_oriented
62-
class ConstraintState:
63-
"""
64-
Class to store the mutable constraint data, all of which type is [ti.fields].
65-
"""
66-
67-
def __init__(self, solver):
68-
f_batch = solver._batch_shape
69-
self.n_constraints = ti.field(dtype=gs.ti_int, shape=f_batch())
70-
71-
7261
@ti.data_oriented
7362
class ColliderState:
7463
"""

0 commit comments

Comments
 (0)