Skip to content

Commit 30066a9

Browse files
committed
push version v0.7.0, update changelog
1 parent 1db5c72 commit 30066a9

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

changelog.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# v0.7.0 - 25.01.2022
2+
3+
This is a *breaking* release, due to the changes in PR #25.
4+
5+
`NumContext` (and types taking `NumContext` as an argument) are now
6+
two-fold generic. The floating point like type used during
7+
computation may now be overwritten.
8+
9+
This is a breaking change, as the `newNumContext` procedure must now
10+
be given two generic arguments. For most procedures the signature
11+
was only extended to use `float` as the secondary type, leaving them
12+
as taking single generic arguments.
13+
`adapdiveGauss` is an exception and thus now requires the user to
14+
hand *both* types.
15+
16+
- transition for `adaptiveGauss`:
17+
Calling as: `adaptiveGauss[T, float](...)` will produce the old
18+
behavior. In the future a nicer interface may be designed.
19+
- transition for `newNumContext`:
20+
Calling as: `newNumContext[T, float]` will produce the old behavior.
21+
22+
This change was a step towards a more (likely concept based) interface
23+
for SciNim libraries for better interop. It allows for example to
24+
integrate over a `Measurement`.
25+
126
# v0.6.3
227

328
- fixes an issue that might arise if 2D interpolation is used together

numericalnim.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Package Information
2-
version = "0.6.3"
2+
version = "0.7.0"
33
author = "Hugo Granström"
44
description = "A collection of numerical methods written in Nim. Current features: integration, ode, optimization."
55
license = "MIT"

0 commit comments

Comments
 (0)