Skip to content

Use Model.setAlwaysCheckFinite(True) in debug builds#2262

Merged
dweindl merged 4 commits intoAMICI-dev:developfrom
dweindl:fix_2235
Jan 7, 2024
Merged

Use Model.setAlwaysCheckFinite(True) in debug builds#2262
dweindl merged 4 commits intoAMICI-dev:developfrom
dweindl:fix_2235

Conversation

@dweindl
Copy link
Member

@dweindl dweindl commented Jan 6, 2024

So that we automatically use the additional checks in our tests.

Closes #2235

So that we automatically use the additional checks in our tests.

Closes AMICI-dev#2235
@dweindl dweindl linked an issue Jan 6, 2024 that may be closed by this pull request
@dweindl dweindl marked this pull request as ready for review January 6, 2024 10:40
@dweindl dweindl requested a review from a team as a code owner January 6, 2024 10:40
@codecov
Copy link

codecov bot commented Jan 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (66f4ba5) 76.47% compared to head (9e9d300) 77.08%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2262      +/-   ##
===========================================
+ Coverage    76.47%   77.08%   +0.61%     
===========================================
  Files           92       92              
  Lines        14976    14980       +4     
===========================================
+ Hits         11453    11548      +95     
+ Misses        3523     3432      -91     
Flag Coverage Δ
cpp 74.08% <100.00%> (+0.97%) ⬆️
cpp_python 37.39% <0.00%> (+0.30%) ⬆️
petab 52.90% <ø> (ø)
python 77.94% <ø> (ø)
sbmlsuite ?

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

Files Coverage Δ
include/amici/model.h 61.11% <ø> (ø)
src/sundials_matrix_wrapper.cpp 83.33% <100.00%> (+0.13%) ⬆️

... and 1 file with indirect coverage changes

@dweindl dweindl marked this pull request as draft January 6, 2024 11:10
@dweindl dweindl marked this pull request as ready for review January 6, 2024 14:09
@dweindl dweindl self-assigned this Jan 6, 2024
@dweindl dweindl merged commit 3d01ebb into AMICI-dev:develop Jan 7, 2024
@dweindl dweindl deleted the fix_2235 branch January 7, 2024 13:10
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.

Use Model.setAlwaysCheckFinite(True) in tests

2 participants