Skip to content

Commit e015eac

Browse files
author
Han Wang
committed
fix bug in test
1 parent c8b1238 commit e015eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/train/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test (args):
5050
err_coll.append(err)
5151
siz_coll.append(siz)
5252
avg_err = weighted_average(err_coll, siz_coll)
53-
if len(all_sys) != len(err):
53+
if len(all_sys) != len(err_coll):
5454
print('Not all systems are tested! Check if the systems are valid')
5555
if len(all_sys) > 1:
5656
print ("# ----------weighted average of errors----------- ")

0 commit comments

Comments
 (0)