Skip to content

Commit 091948e

Browse files
committed
update replicate
1 parent 2149afc commit 091948e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpdata/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ def replicate(self, ncopy):
601601
if len(ncopy) !=3:
602602
raise RuntimeError('ncopy must be a list or tuple with 3 int')
603603
for ii in ncopy:
604-
if type(ncopy(ii)) is not int:
604+
if type(ii) is not int:
605605
raise RuntimeError('ncopy must be a list or tuple must with 3 int')
606606

607607
tmp = System()

0 commit comments

Comments
 (0)