vgvassilev / clad

clad -- automatic differentiation for C/C++
GNU Lesser General Public License v3.0
280 stars 123 forks source link

Limit the scope of m_DerivativeOrder and m_IndependentVarIndex. #1012

Closed vgvassilev closed 2 months ago

github-actions[bot] commented 2 months ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 2 months ago

clang-tidy review says "All clean, LGTM! :+1:"

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.79%. Comparing base (f720b60) to head (4c28e89).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/vgvassilev/clad/pull/1012/graphs/tree.svg?width=650&height=150&src=pr&token=9f6Q4em8hE&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev)](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) ```diff @@ Coverage Diff @@ ## master #1012 +/- ## ========================================== - Coverage 93.80% 93.79% -0.01% ========================================== Files 55 55 Lines 8068 8060 -8 ========================================== - Hits 7568 7560 -8 Misses 500 500 ``` | [Files](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) | Coverage Δ | | |---|---|---| | [...clude/clad/Differentiator/BaseForwardModeVisitor.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FBaseForwardModeVisitor.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0Jhc2VGb3J3YXJkTW9kZVZpc2l0b3IuaA==) | `100.00% <ø> (ø)` | | | [include/clad/Differentiator/DerivedFnInfo.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FDerivedFnInfo.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0Rlcml2ZWRGbkluZm8uaA==) | `100.00% <ø> (ø)` | | | [lib/Differentiator/BaseForwardModeVisitor.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=lib%2FDifferentiator%2FBaseForwardModeVisitor.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0Jhc2VGb3J3YXJkTW9kZVZpc2l0b3IuY3Bw) | `98.98% <100.00%> (-0.01%)` | :arrow_down: | | [lib/Differentiator/DerivedFnInfo.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=lib%2FDifferentiator%2FDerivedFnInfo.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0Rlcml2ZWRGbkluZm8uY3Bw) | `100.00% <100.00%> (ø)` | | | [Files](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev) | Coverage Δ | | |---|---|---| | [...clude/clad/Differentiator/BaseForwardModeVisitor.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FBaseForwardModeVisitor.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0Jhc2VGb3J3YXJkTW9kZVZpc2l0b3IuaA==) | `100.00% <ø> (ø)` | | | [include/clad/Differentiator/DerivedFnInfo.h](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=include%2Fclad%2FDifferentiator%2FDerivedFnInfo.h&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-aW5jbHVkZS9jbGFkL0RpZmZlcmVudGlhdG9yL0Rlcml2ZWRGbkluZm8uaA==) | `100.00% <ø> (ø)` | | | [lib/Differentiator/BaseForwardModeVisitor.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=lib%2FDifferentiator%2FBaseForwardModeVisitor.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0Jhc2VGb3J3YXJkTW9kZVZpc2l0b3IuY3Bw) | `98.98% <100.00%> (-0.01%)` | :arrow_down: | | [lib/Differentiator/DerivedFnInfo.cpp](https://app.codecov.io/gh/vgvassilev/clad/pull/1012?src=pr&el=tree&filepath=lib%2FDifferentiator%2FDerivedFnInfo.cpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vassil+Vassilev#diff-bGliL0RpZmZlcmVudGlhdG9yL0Rlcml2ZWRGbkluZm8uY3Bw) | `100.00% <100.00%> (ø)` | |