The line
|
kernel.tell(offspring, [-float(u) for u in hypervolume_improvements]) |
converts the HV computation result to
float. This seems to defeat the very idea why
Fractions are available in the
moarchiving module.
Possible solutions:
- check the converted floats for equality and when equal values are found, subtract the minimal value still in
Fraction type before the conversion. This could also be optional.
- make the
cma package work with Fraction and remove the conversion.
The line
pycomocma/comocma/como.py
Line 471 in 036abf6
float. This seems to defeat the very idea whyFractionsare available in themoarchivingmodule.Possible solutions:
Fractiontype before the conversion. This could also be optional.cmapackage work withFractionand remove the conversion.