Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move sim_steps increment #1806

Merged
merged 3 commits into from
Jun 13, 2022
Merged

move sim_steps increment #1806

merged 3 commits into from
Jun 13, 2022

Conversation

plakrisenko
Copy link
Member

@plakrisenko plakrisenko commented Jun 10, 2022

moved sim_steps increment to the beginning of the while loop, as otherwise if the simulation is successful on the first step resulting sim_steps = 0.

moved also the max steps check and the large time point check, as otherwise one step is made even if maxSteps is set to zero

@plakrisenko plakrisenko requested a review from FFroehlich June 10, 2022 16:47
@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #1806 (9810581) into develop (477fd1b) will increase coverage by 0.06%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1806      +/-   ##
===========================================
+ Coverage    76.37%   76.43%   +0.06%     
===========================================
  Files           74       74              
  Lines        12667    12667              
===========================================
+ Hits          9674     9682       +8     
+ Misses        2993     2985       -8     
Flag Coverage Δ
cpp 72.71% <71.42%> (-0.03%) ⬇️
petab 60.59% <ø> (ø)
python 68.19% <ø> (+0.23%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/steadystateproblem.cpp 85.02% <71.42%> (ø)
src/sundials_matrix_wrapper.cpp 80.24% <0.00%> (-0.41%) ⬇️
python/amici/conserved_quantities_demartino.py 65.55% <0.00%> (+1.95%) ⬆️

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@FFroehlich FFroehlich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@plakrisenko plakrisenko merged commit 81bfe75 into develop Jun 13, 2022
@dweindl dweindl deleted the move_sim_steps_increment branch August 23, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants