ELIFE-ASU / Neet

Simulating and analyzing dynamical network models
https://neet.readthedocs.io/en/stable
Other
4 stars 10 forks source link

Use index argument for _unsafe_update #157

Closed dglmoore closed 5 years ago

dglmoore commented 5 years ago

Several of the sensitivity methods update states, but then only consider a single index. That's a lot of wasted computation for no reason. Providing the index argument only updates that single index.

codecov-io commented 5 years ago

Codecov Report

Merging #157 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #157   +/-   ##
=======================================
  Coverage   90.99%   90.99%           
=======================================
  Files          17       17           
  Lines        1411     1411           
=======================================
  Hits         1284     1284           
  Misses        127      127
Impacted Files Coverage Δ
neet/boolean/sensitivity.py 96.58% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fc6126a...4f38fd2. Read the comment docs.