From 7bd718b35421a36997985de45536b5f43156cc1c Mon Sep 17 00:00:00 2001 From: Axel Naumann <Axel.Naumann@cern.ch> Date: Sat, 12 Dec 2015 12:11:25 +0100 Subject: [PATCH] Use evaluate(); process prints the value. --- interpreter/cling/tools/Jupyter/Kernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/cling/tools/Jupyter/Kernel.cpp b/interpreter/cling/tools/Jupyter/Kernel.cpp index 7ae25598795..010bd3e8761 100644 --- a/interpreter/cling/tools/Jupyter/Kernel.cpp +++ b/interpreter/cling/tools/Jupyter/Kernel.cpp @@ -104,7 +104,7 @@ static std::string ValueToString(const cling::Value& V) { char* cling_eval(TheInterpreter *interpVP, const char *code) { cling::Interpreter *interp = (cling::Interpreter *) interpVP; cling::Value V; - cling::Interpreter::CompilationResult Res = interp->process(code, &V); + cling::Interpreter::CompilationResult Res = interp->evaluate(code, V); if (Res != cling::Interpreter::kSuccess) return nullptr; -- GitLab