Skip to content

Commit 4ff42ec

Browse files
committed
[RF] Remove usage of non-existent class method
RooFuncWrapper lost some of its methods among which GetName since 5b9d51d. Remove usage of the method in error printout.
1 parent c19d927 commit 4ff42ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roofit/roofitcore/src/RooEvaluatorWrapper.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ void RooFuncWrapper::createGradient()
342342
#else
343343
_hasGradient = false;
344344
std::stringstream errorMsg;
345-
errorMsg << "Function " << GetName() << " could not be differentiated since ROOT was built without Clad support.";
345+
errorMsg << "Function could not be differentiated since ROOT was built without Clad support.";
346346
oocoutE(nullptr, InputArguments) << errorMsg.str() << std::endl;
347347
throw std::runtime_error(errorMsg.str().c_str());
348348
#endif

0 commit comments

Comments
 (0)