Skip to content

Commit 189b02b

Browse files
committed
Replace use of generate_one_value_with_boundaries() by generate_sample(1)
1 parent e8b4a46 commit 189b02b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

prosimos/case_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_next_value(self):
4747
one_choice_arr = choices(self.value["options"], self.value["probabilities"])
4848
return one_choice_arr[0]
4949
else:
50-
return self.value.generate_one_value_with_boundaries()
50+
return self.value.generate_sample(1)[0]
5151

5252
def validate(self):
5353
if self.case_atrr_type == CASE_ATTR_TYPE.DISCRETE:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "prosimos"
3-
version = "2.0.1"
3+
version = "2.0.2"
44
description = ""
55
authors = [
66
"Iryna Halenok <iryna.halenok@ut.ee>",

0 commit comments

Comments
 (0)