Skip to content
Snippets Groups Projects
Commit ab3c3f76 authored by Schiffer, Christian's avatar Schiffer, Christian
Browse files

Fixed extended range computation

parent 796bcc8d
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,7 @@ def make_training_parameters(**kwargs):
from_section = min(sections)
to_section = max(sections)
section_range = to_section - from_section
section_range = int(math.ceil((1 + increase) * section_range))
increase = int(math.ceil(section_range / 2))
increase = int(math.ceil(section_range * increase)) // 2
min_section = max(from_section - increase, 1)
max_section = to_section + increase
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment