Skip to content

Commit

Permalink
Ver 0.34.5
Browse files Browse the repository at this point in the history
- Derive Serialize and Deserialize with serde for CubicHermiteSpline
  • Loading branch information
Axect committed Feb 8, 2024
2 parents 3c01607 + f196597 commit d7a3b06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "peroxide"
version = "0.34.4"
version = "0.34.5"
authors = ["axect <[email protected]>"]
edition = "2018"
description = "Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with farmiliar syntax"
Expand Down
4 changes: 4 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Release 0.34.5 (2024-02-08)

* Derive `Serialize` and `Deserialize` for `CubicHermiteSpline`

# Release 0.34.4 (2024-01-28)

* Derive `Serialize` and `Deserialize` for `Matrix`
Expand Down
1 change: 1 addition & 0 deletions src/numerical/spline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,7 @@ impl Calculus for CubicSpline {
// Cubic Hermite Spline
// =============================================================================
#[derive(Debug, Clone)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct CubicHermiteSpline {
polynomials: Vec<(Range<f64>, Polynomial)>,
}
Expand Down

0 comments on commit d7a3b06

Please sign in to comment.