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 computing of the effective derivative name in DiffRequest. NFC. #1190

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

vgvassilev
Copy link
Owner

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

lib/Differentiator/BaseForwardModeVisitor.cpp Show resolved Hide resolved
lib/Differentiator/DiffPlanner.cpp Outdated Show resolved Hide resolved
s = std::to_string(CurrentDerivativeOrder);

if (utils::isArrayOrPointerType(IndependentVar->getType()))
argInfo += "_" + std::to_string(VarInfo.paramIndexInterval.Start);
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: no header providing "std::to_string" is directly included [misc-include-cleaner]

      argInfo += "_" + std::to_string(VarInfo.paramIndexInterval.Start);
                            ^

Copy link

codecov bot commented Dec 27, 2024

Codecov Report

Attention: Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.86%. Comparing base (39ce604) to head (7205668).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
lib/Differentiator/DiffPlanner.cpp 96.15% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
+ Coverage   94.84%   94.86%   +0.01%     
==========================================
  Files          51       51              
  Lines        8970     8978       +8     
==========================================
+ Hits         8508     8517       +9     
+ Misses        462      461       -1     
Files with missing lines Coverage Δ
include/clad/Differentiator/DiffPlanner.h 100.00% <ø> (ø)
include/clad/Differentiator/VisitorBase.h 100.00% <100.00%> (ø)
lib/Differentiator/BaseForwardModeVisitor.cpp 98.73% <100.00%> (-0.02%) ⬇️
lib/Differentiator/DiffPlanner.cpp 98.36% <96.15%> (-0.13%) ⬇️

... and 1 file with indirect coverage changes

Files with missing lines Coverage Δ
include/clad/Differentiator/DiffPlanner.h 100.00% <ø> (ø)
include/clad/Differentiator/VisitorBase.h 100.00% <100.00%> (ø)
lib/Differentiator/BaseForwardModeVisitor.cpp 98.73% <100.00%> (-0.02%) ⬇️
lib/Differentiator/DiffPlanner.cpp 98.36% <96.15%> (-0.13%) ⬇️

... and 1 file with indirect coverage changes

@vgvassilev vgvassilev merged commit d05e3c9 into master Dec 27, 2024
92 checks passed
@vgvassilev vgvassilev deleted the derive-5 branch December 27, 2024 12:03
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.

1 participant