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

Remove Float64 restriction #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baggepinnen
Copy link
Contributor

Throughout the package types are often hardwired to be Float64. The PR lifts this restriction in some places to allow for any real type. In particular, this allows the use of Float32 or Float16 in the A matrix to reduce memory footprint. Structures like QuadLoss etc. still require modification in order to not cause conversions to Float64 when computations are made using its fields, but this PR at least allows the user to have data in other formats.

Throughout the package types are often hard-wired to be Float64. The PR lifts this restriction in some places to allow for any real type. In particular, tihs allows the use of Float32 or Float16 to reduce memory footprint. Structures like `QuadLoss` etc. still require modification in order to not cause conversions to Float64 when computations are made using its fields, but this PR at least allows the user to have data in other formats.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant