Skip to content

Commit 16b40b4

Browse files
Consolidate TimeVaryingDiscreteDistribution into IndexDistribution
Co-authored-by: alanlujan91 <[email protected]>
1 parent abef403 commit 16b40b4

File tree

4 files changed

+67
-687
lines changed

4 files changed

+67
-687
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,12 @@ To install for development see the [Quickstart Guide](https://docs.econ-ark.org/
237237
For more information on contributing to HARK please see [the contributing guide](https://docs.econ-ark.org/docs/guides/contributing.html).
238238
This is the guide that collaborators follow in maintaining the Econ-ARK project.
239239

240+
## Migration notes
241+
242+
- Distributions: `TimeVaryingDiscreteDistribution` has been consolidated into `IndexDistribution`.
243+
- If you previously constructed a time-indexed list of discrete distributions via `TimeVaryingDiscreteDistribution([...])`, use `IndexDistribution(distributions=[...])` instead.
244+
- Existing `IndexDistribution(engine=..., conditional=...)` usage is unchanged.
245+
240246
## Disclaimer
241247

242248
This is a beta version of HARK. The code has not been extensively tested as it should be. We hope it is useful, but there are absolutely no guarantees (expressed or implied) that it works or will do what you want. Use at your own risk. And please, let us know if you find bugs by posting an issue to [the GitHub page](https://github.com/econ-ark/HARK)!

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ See documentation notebooks in /examples/SequenceSpaceJacobians/ . The capabilit
3434
- Documentation files have been moved from /Documentation/ to /docs/ [#1579](https://github.com/econ-ark/HARK/pull/1579)
3535
- All tests have been consolidated into a single directory, rather than being scattered about. [#1578](https://github.com/econ-ark/HARK/pull/1578)
3636
- Add a special README so that the robots know we're on their side when the singularity arrives. [#1577](https://github.com/econ-ark/HARK/pull/1577)
37+
- Consolidates `TimeVaryingDiscreteDistribution` into `IndexDistribution`. For time-varying discrete behavior, use `IndexDistribution(distributions=[...])`. [#1592](https://github.com/econ-ark/HARK/pull/1592)
3738

3839

3940
### 0.16.0

0 commit comments

Comments
 (0)