Skip to content

Commit f64ffd7

Browse files
committed
accept adalasso as adaptive-lasso
1 parent 439de76 commit f64ffd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alm/input_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ auto InputParser::parse_optimize_vars(ALM *alm) -> void
10771077
optcontrol.linear_model = 1;
10781078
} else if (str_LMODEL == "enet" || str_LMODEL == "elastic-net" || str_LMODEL == "2") {
10791079
optcontrol.linear_model = 2;
1080-
} else if (str_LMODEL == "adaptive-lasso" || str_LMODEL == "3") {
1080+
} else if (str_LMODEL == "adaptive-lasso" || str_LMODEL == "adalasso" || str_LMODEL == "3") {
10811081
optcontrol.linear_model = 3;
10821082
} else {
10831083
exit("parse_optimize_vars", "Invalid OPTIMIZER-tag");

0 commit comments

Comments
 (0)