Skip to content

Commit

Permalink
Merge pull request #909 from Mv77/DCEGM/Fix-xIngs
Browse files Browse the repository at this point in the history
Fix DCEGM/calcCrossPoints' return fields
  • Loading branch information
sbenthall authored Jan 14, 2021
2 parents decc281 + f1876e4 commit 3c8b069
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Release Data: TBD
* Centralizes the definition of value, marginal value, and marginal marginal value functions that use inverse-space
interpolation for problems with CRRA utility. See [#888](https://github.com/econ-ark/HARK/pull/888).
* MarkovProcess class (#902)[https://github.com/econ-ark/HARK/pull/902]
* Fix the return fields of `dcegm/calcCrossPoints`[#909](https://github.com/econ-ark/HARK/pull/909).
* Corrects location of constructor documentation to class string for Sphinx rendering (#908)[https://github.com/econ-ark/HARK/pull/908]

#### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion HARK/dcegm.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def calcCrossPoints(mGrid, condVs, optIdx):

# If no crossings, return an empty list
if len(idx_change) == 0:
return []
return [], np.empty(0)
else:

# To find the crossing points we need the extremes of the intervals in
Expand Down

0 comments on commit 3c8b069

Please sign in to comment.