Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed deap-creator error #3324

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

MatNif
Copy link
Collaborator

@MatNif MatNif commented Jun 15, 2023

When running in multiprocessing the the 'Individual'-class created using the deap-creator module could not be accessed since it was not set as a global value. This fix omits creating unnecessary global values by introducing an new 'explicit' Individual-class.

When running in multiprocessing the the 'Individual'-class created using the deap-creator module could not be accessed since it was not set as a global value. This fix omits creating unnecessary global values by introducing an new 'explicit' Individual-class.
@ShiZhongming
Copy link
Collaborator

Thanks for this @MatNif
I use tested a DC and a DH cases on CEA Dashboard for MacOS. Both worked fine now.

@reyery reyery merged commit 66cf19c into master Jun 28, 2023
3 checks passed
@reyery reyery deleted the 3290-optimisation-fix-replacing-deap-creator branch June 28, 2023 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants