Skip to content

Commit 7589290

Browse files
authored
Merge pull request #209 from ihmeuw/develop
Release candidate v0.10.14
2 parents 351251e + fcfa913 commit 7589290

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
**0.10.14 - 05/16/22**
2+
3+
- Fixed pandas FutureWarning in `randomness.get_draw`
4+
15
**0.10.13 - 05/05/22**
26

37
- Improved error message when component dependencies are not specified.

src/vivarium/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
__summary__ = "vivarium is a microsimulation framework built on top of the standard scientific python stack."
1414
__uri__ = "https://github.com/ihmeuw/vivarium"
1515

16-
__version__ = "0.10.13"
16+
__version__ = "0.10.14"
1717

1818
__author__ = "The vivarium developers"
1919
__email__ = "vivarium.dev@gmail.com"

src/vivarium/framework/randomness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def random(key: str, index: Index, index_map: IndexMap = None) -> pd.Series:
250250
raw_draws = random_state.random_sample(sample_size)
251251
return pd.Series(raw_draws[draw_index], index=index)
252252

253-
return pd.Series(index=index) # Structured null value
253+
return pd.Series(index=index, dtype=float) # Structured null value
254254

255255

256256
def get_hash(key: str) -> int:

0 commit comments

Comments
 (0)