Skip to content

Commit

Permalink
Set test line to train line if null
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh31 committed Oct 8, 2023
1 parent 6a42a89 commit 5b88da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def train_classifying_direction(
**kwargs,
)
if test_data is None:
test_data = train_data
test_line = train_line
else:
test_line, _, _, _ = fitting_method(
test_data, test_pos, test_layer,
Expand Down

0 comments on commit 5b88da8

Please sign in to comment.