Skip to content

Accept generic float type for fitness/mutation rate #97

@HyperCodec

Description

@HyperCodec

This crate should work with any type that implements PartialOrd, not just f32.

However, it would add a bit of complexity to the project, and I don't know if that's really worth it since I don't see any reason why someone wouldn't just use f32.

ig it could be useful to be able to use f64 for more precision, but I still don't know whether it's worth making a big refactor for.

Metadata

Metadata

Assignees

Labels

controversialNot sure whether it should be added or not (likely a breaking change)enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions