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

[RF][skip-ci] RooBatchCompute code formatting #9727

Merged
merged 1 commit into from
Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions roofit/batchcompute/inc/RooMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class RooMath {
*
* The method described in
*
* S.M. Abrarov, B.M. Quine: "Efficient algotithmic implementation of
* S.M. Abrarov, B.M. Quine: "Efficient algorithmic implementation of
* Voigt/complex error function based on exponential series approximation"
* published in Applied Mathematics and Computation 218 (2011) 1894-1902
* doi:10.1016/j.amc.2011.06.072
Expand All @@ -53,7 +53,7 @@ class RooMath {
* \frac{1-e^{i(-n\pi+\tau_m z)}}{n\pi - \tau_m z}
* \right) - a_0 \frac{1-e^{i \tau_m z}}{z}
* \right) @f]
*
*
* The coefficients @f$a_b@f$ are given by:
*
* @f[ a_n=\frac{2\sqrt{\pi}}{\tau_m}
Expand Down Expand Up @@ -86,7 +86,7 @@ class RooMath {
* fast than the old CERNLIB implementation and offers better accuracy.
*
* For large @f$|z|@f$, the familiar continued fraction approximation
*
*
* @f[ w(z)=\frac{-iz/\sqrt{\pi}}{-z^2+\frac{1/2}{1+\frac{2/2}{-z^2 +
* \frac{3/2}{1+\frac{4/2}{-z^2+\frac{5/2}{1+\frac{6/2}{-z^2+\frac{7/2
* }{1+\frac{8/2}{-z^2+\frac{9/2}{1+\ldots}}}}}}}}}} @f]
Expand Down Expand Up @@ -122,7 +122,7 @@ class RooMath {
* a factor 280 smaller than the old interpolation/table lookup routine).
*
* For large @f$|z|@f$, the familiar continued fraction approximation
*
*
* @f[ w(z)=\frac{-iz/\sqrt{\pi}}{-z^2+\frac{1/2}{1+\frac{2/2}{-z^2 +
* \frac{3/2}{1+\ldots}}}} @f]
*
Expand Down
4 changes: 2 additions & 2 deletions roofit/batchcompute/inc/RunContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ struct RunContext {
std::map<const RooAbsArg*, std::vector<double>> ownedMemory;
std::map<const RooAbsArg*, double*> ownedMemoryCuda;

const char* rangeName{nullptr}; /// If evaluation should only occur in a range, the range name can be passed here.
std::vector<double> logProbabilities; /// Possibility to register log probabilities.
const char* rangeName{nullptr}; ///< If evaluation should only occur in a range, the range name can be passed here.
std::vector<double> logProbabilities; ///< Possibility to register log probabilities.
};

}
Expand Down