Skip to content

Commit

Permalink
fix changelog and format
Browse files Browse the repository at this point in the history
  • Loading branch information
feixie committed Sep 29, 2023
1 parent 9f535aa commit ddc09af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 0 additions & 6 deletions changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,3 @@
added:
- Chart formatting utilities.
date: 2023-08-02 12:54:44
- bump: minor
changes:
fixed:
- Bump numpy version
- Fix numpy record compatibility issue

5 changes: 5 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- bump: minor
changes:
fixed:
- Bump numpy version
- Fix numpy record compatibility issue
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ def __getitem__(self, key: str) -> Any:
)

# If the result is not a leaf, wrap the result in a vectorial node.
if numpy.issubdtype(result.dtype, numpy.record) or numpy.issubdtype(
result.dtype, numpy.void
):
if numpy.issubdtype(
result.dtype, numpy.record
) or numpy.issubdtype(result.dtype, numpy.void):
return VectorialParameterNodeAtInstant(
self._name, result.view(numpy.recarray), self._instant_str
)
Expand Down

0 comments on commit ddc09af

Please sign in to comment.