Skip to content

Commit

Permalink
NSGA2 patch (#365)
Browse files Browse the repository at this point in the history
* add Phil's fix

* version bump
  • Loading branch information
ewu63 authored Dec 22, 2023
1 parent c233e8f commit 5fef213
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyoptsparse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.10.1"
__version__ = "2.10.2"

from .pyOpt_history import History
from .pyOpt_variable import Variable
Expand Down
2 changes: 1 addition & 1 deletion pyoptsparse/pyNSGA2/source/nsga2.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void mutation_ind (individual *ind, Global global, int *nrealmut, int *nbinmut);
void bin_mutate_ind (individual *ind, Global global, int *nbinmut);
void real_mutate_ind (individual *ind, Global global, int *nrealmut);

//void nsga2func (int nreal, int nbin, int nobj, int ncon, double *xreal, double *xbin, int **gene, double *obj, double *constr);
void nsga2func (int nreal, int nbin, int nobj, int ncon, double *xreal, double *xbin, int **gene, double *obj, double *constr);

void assign_rank_and_crowding_distance (population *new_pop, Global global);

Expand Down

0 comments on commit 5fef213

Please sign in to comment.