chiark / gitweb /
fix #13 (CRS for empty dimensions)
[nlopt.git] / api / optimize.c
index e17187f00444024ce4f787454933f92968e5c210..20fe864a35ed0245f2c3ecf0057780f6856d8fdf 100644 (file)
@@ -339,6 +339,7 @@ static int elimdim_wrapcheck(nlopt_opt opt)
         case NLOPT_GN_DIRECT_L_RAND_NOSCAL: 
         case NLOPT_GN_ORIG_DIRECT:
         case NLOPT_GN_ORIG_DIRECT_L:
+         case NLOPT_GN_CRS2_LM:
         case NLOPT_LN_PRAXIS:
         case NLOPT_LN_COBYLA:
         case NLOPT_LN_NEWUOA: