Skip to content

Commit 50498b8

Browse files
committed
Switch order that box mins and maxs are set
1 parent 210df88 commit 50498b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mbuild/compound.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2476,8 +2476,8 @@ def to_parmed(self, box=None, title='', residues=None, show_ports=False,
24762476
if not val:
24772477
box_vec_max[dim] += 0.25
24782478
box_vec_min[dim] -= 0.25
2479-
box.mins = np.asarray(box_vec_min)
24802479
box.maxs = np.asarray(box_vec_max)
2480+
box.mins = np.asarray(box_vec_min)
24812481

24822482
box_vector = np.empty(6)
24832483
if box.angles is not None:

0 commit comments

Comments
 (0)