Skip to content

Commit

Permalink
push version v0.7.0, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Jan 24, 2022
1 parent 1db5c72 commit 30066a9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# v0.7.0 - 25.01.2022

This is a *breaking* release, due to the changes in PR #25.

`NumContext` (and types taking `NumContext` as an argument) are now
two-fold generic. The floating point like type used during
computation may now be overwritten.

This is a breaking change, as the `newNumContext` procedure must now
be given two generic arguments. For most procedures the signature
was only extended to use `float` as the secondary type, leaving them
as taking single generic arguments.
`adapdiveGauss` is an exception and thus now requires the user to
hand *both* types.

- transition for `adaptiveGauss`:
Calling as: `adaptiveGauss[T, float](...)` will produce the old
behavior. In the future a nicer interface may be designed.
- transition for `newNumContext`:
Calling as: `newNumContext[T, float]` will produce the old behavior.

This change was a step towards a more (likely concept based) interface
for SciNim libraries for better interop. It allows for example to
integrate over a `Measurement`.

# v0.6.3

- fixes an issue that might arise if 2D interpolation is used together
Expand Down
2 changes: 1 addition & 1 deletion numericalnim.nimble
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package Information
version = "0.6.3"
version = "0.7.0"
author = "Hugo Granström"
description = "A collection of numerical methods written in Nim. Current features: integration, ode, optimization."
license = "MIT"
Expand Down

0 comments on commit 30066a9

Please sign in to comment.