chiark / gitweb /
rename subspace_dim to vector_storage, since not necessarily a subspace (and can...
[nlopt.git] / octave / nlopt_optimize-oct.cc
index 9e11c4995dc505adebd0952e6b0235a97edfc481..1f24dde9a59ca50d94fadebdc4d66c0fe543e35c 100644 (file)
@@ -177,7 +177,7 @@ nlopt_opt make_opt(Octave_map &opts, int n)
   nlopt_set_maxtime(opt, struct_val_default(opts, "maxtime", 0.0));
 
   nlopt_set_population(opt, struct_val_default(opts, "population", 0));
-  nlopt_set_subspace_dim(opt, struct_val_default(opts, "subspace_dim", 0));
+  nlopt_set_vector_storage(opt, struct_val_default(opts, "vector_storage", 0));
 
   if (opts.contains("initial_step")) {
     Matrix zeros(1, n, 0.0);