Skip to content

Commit 304424c

Browse files
committed
Try out different Clad version for validation
1 parent e87b145 commit 304424c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

hist/hist/src/TFormula.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3300,7 +3300,7 @@ bool TFormula::GenerateGradientPar() {
33003300
// reuse the already generated gradient function.
33013301
if (!functionExists(GetGradientFuncName())) {
33023302
std::string GradientCall
3303-
("clad::gradient(" + std::string(fClingName.Data()) + ", \"p\");");
3303+
("clad::gradient<clad::opts::enable_va>(" + std::string(fClingName.Data()) + ", \"p\");");
33043304
if (!DeclareGenerationInput(GetGradientFuncName(),
33053305
GradientCall,
33063306
fGradGenerationInput))

interpreter/cling/tools/plugins/clad/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ set(_clad_extra_settings
7373
if (DEFINED CLAD_SOURCE_DIR)
7474
list(APPEND _clad_extra_settings SOURCE_DIR ${CLAD_SOURCE_DIR})
7575
else()
76-
list(APPEND _clad_extra_settings GIT_REPOSITORY https://github.com/vgvassilev/clad.git)
77-
list(APPEND _clad_extra_settings GIT_TAG v2.1)
76+
list(APPEND _clad_extra_settings GIT_REPOSITORY https://github.com/ovdiiuv/clad.git)
77+
list(APPEND _clad_extra_settings GIT_TAG forw-act)
7878
endif()
7979

8080
## list(APPEND _clad_patches_list "patch1.patch" "patch2.patch")

roofit/roofitcore/src/RooEvaluatorWrapper.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ void RooFuncWrapper::createGradient()
313313
std::stringstream requestFuncStrm;
314314
requestFuncStrm << "#pragma clad ON\n"
315315
"void " << requestName << "() {\n"
316-
" clad::gradient(" << _funcName << ", \"params\");\n"
316+
" clad::gradient<clad::opts::enable_va>(" << _funcName << ", \"params\");\n"
317317
"}\n"
318318
"#pragma clad OFF";
319319
// clang-format on

tmva/sofie/test/TestGemmDerivative.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ TEST_P(GemmTest, GemmTestDerivative)
100100
101101
#pragma clad ON
102102
void clad_request() {
103-
clad::gradient(gemm_function, "variables");
103+
clad::gradient<clad::opts::enable_va>(gemm_function, "variables");
104104
}
105105
#pragma clad OFF
106106
)cpp");

0 commit comments

Comments
 (0)