chiark / gitweb /
rename subspace_dim to vector_storage, since not necessarily a subspace (and can...
[nlopt.git] / api / options.c
index 19df40dc486c95e6ea71e330302751d5001fe8dd..e3709fd6a04c68d1e0cf0915572ac0f2b93737e7 100644 (file)
@@ -88,7 +88,7 @@ nlopt_opt NLOPT_STDCALL nlopt_create(nlopt_algorithm algorithm, unsigned n)
 
          opt->local_opt = NULL;
          opt->stochastic_population = 0;
-         opt->subspace_dim = 0;
+         opt->vector_storage = 0;
          opt->dx = NULL;
          opt->work = NULL;
 
@@ -589,7 +589,7 @@ NLOPT_STDCALL nlopt_set_local_optimizer(nlopt_opt opt,
 /*************************************************************************/
 
 GETSET(population, unsigned, stochastic_population)
-GETSET(subspace_dim, unsigned, subspace_dim)
+GETSET(vector_storage, unsigned, vector_storage)
 
 /*************************************************************************/