Skip to content

Commit

Permalink
Merge pull request #126 from MassimoCimmino/issue125_pipeAndNetworkAr…
Browse files Browse the repository at this point in the history
…rays

Issue125 pipe and network arrays
  • Loading branch information
MassimoCimmino authored Jul 14, 2021
2 parents 86b9319 + 4747743 commit 9882ab4
Show file tree
Hide file tree
Showing 3 changed files with 370 additions and 333 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
* [Issue 118](https://github.com/MassimoCimmino/pygfunction/issues/118) - Refactored checks for stored `_BasePipe` and `Network` coefficicients to use `numpy.all()`. This decreases calculation time.
* [Issue 119](https://github.com/MassimoCimmino/pygfunction/issues/119) - Refactored `Network` class to change how coefficient matrices are calculated. This decreases calculation time.

### Other changes
* [Issue 93](https://github.com/MassimoCimmino/pygfunction/issues/93) - Reformatted `pipes` and `networks` modules to use the `@` matrix product operator introduced in [PEP465](https://www.python.org/dev/peps/pep-0465/). This improves readability of the code.
* [Issue 100](https://github.com/MassimoCimmino/pygfunction/issues/100) - Replaced calls to `numpy.asscalar()` with calls to `array.item()`. `numpy.asscalar()` is deprecated as of `numpy` version `1.16`.
* [Issue 125](https://github.com/MassimoCimmino/pygfunction/issues/125) - Refactored class methods and docstrings in `Pipe` and `Network` objects to better represent the expected shapes of array inputs and outputs.

## Version 2.0.0 (2021-05-22)

### New features
Expand Down
Loading

0 comments on commit 9882ab4

Please sign in to comment.