PSLmodels / Cost-of-Capital-Calculator

A cost of capital and effective tax rate calculator
https://ccc.pslmodels.org
Other
17 stars 33 forks source link

Simplify calculations of rate of return #361

Closed jdebacker closed 2 years ago

jdebacker commented 2 years ago

This PR simplifies the functions calculating rates of return.

codecov-commenter commented 2 years ago

Codecov Report

Merging #361 (ae24abb) into master (617e059) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #361   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines         1109      1109           
=========================================
  Hits          1109      1109           
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

Impacted Files Coverage Δ
ccc/parameters.py 100.00% <100.00%> (ø)
ccc/paramfunctions.py 100.00% <100.00%> (ø)