Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.

Commit 5994ba1

Browse files
authored
Fix estimator (#30)
* fix bug in estimator * add change to changelog * Update version * Update changelog for release
1 parent 8db7796 commit 5994ba1

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
8-
### Added
9-
- Add `pyproject.toml`
7+
## [0.1.5] - 2022-02-21
8+
### Fixed
9+
- Fixed bug in `predict` of `Estimator`. [#30](https://github.com/feos-org/feos-core/pull/30)
1010

11+
### Added
12+
- Add `pyproject.toml`. [#29](https://github.com/feos-org/feos-core/pull/29)
1113

1214
## [0.1.4] - 2022-02-18
1315
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos-core"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
authors = ["Gernot Bauer <bauer@itt.uni-stuttgart.de>",
55
"Philipp Rehner <prehner@ethz.ch"]
66
edition = "2018"

build_wheel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "feos_core"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
authors = ["Gernot Bauer <bauer@itt.uni-stuttgart.de>",
55
"Philipp Rehner <prehner@ethz.ch"]
66
edition = "2018"

src/python/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ macro_rules! impl_estimator {
313313
.0
314314
.predict(&eos.0)?
315315
.iter()
316-
.map(|d| PySIArray1(d))
316+
.map(|d| PySIArray1::from(d.clone()))
317317
.collect())
318318
}
319319

0 commit comments

Comments
 (0)