chiark / gitweb /
fix #13 (CRS for empty dimensions)
authorSteven G. Johnson <stevenj@mit.edu>
Thu, 20 Feb 2014 18:00:58 +0000 (13:00 -0500)
committerSteven G. Johnson <stevenj@mit.edu>
Thu, 20 Feb 2014 18:00:58 +0000 (13:00 -0500)
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: