Skip to content

Commit cbb91eb

Browse files
committed
Fix a test case which has failed due to new validation.
1 parent 718dfde commit cbb91eb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

t/Algorithm/LibLinear/TrainingParameter.t

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ my @cases = (
5555
+{ constructor_params => [ cost => 0 ], error_pattern => qr/C <= 0/ },
5656
+{ constructor_params => [ epsilon => 0 ], error_pattern => qr/eps <= 0/ },
5757
+{
58-
constructor_params => [ loss_sensitivity => -1 ],
59-
error_pattern => qr/p < 0/,
58+
constructor_params => [
59+
loss_sensitivity => -1,
60+
solver => 'L2R_L2LOSS_SVR',
61+
],
62+
error_pattern => qr/p < 0/,
6063
},
6164
);
6265
for my $case (@cases) {

0 commit comments

Comments
 (0)