From f078078c4efa68b48faf3e7e10dc20eac8656848 Mon Sep 17 00:00:00 2001
From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain>
Date: Wed, 31 Mar 2021 01:11:18 -0500
Subject: [PATCH] WIP: factorize hist def and test def 03

---
 benchmarks/dvmp/analysis/vm_invar.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/benchmarks/dvmp/analysis/vm_invar.cxx b/benchmarks/dvmp/analysis/vm_invar.cxx
index 8628aa4f..ac938e30 100644
--- a/benchmarks/dvmp/analysis/vm_invar.cxx
+++ b/benchmarks/dvmp/analysis/vm_invar.cxx
@@ -182,7 +182,7 @@ int vm_invar(const std::string& config_name)
       //get histograms
       auto h_tmp = d_im.Histo1D({fmt::format("{}_tmp", histName[i][j]).c_str(), histTitles[i][j].c_str(), 50, range_l[i][j], range_h[i][j]}, RawhistName[i][j].c_str());
       TH1D* hptr_tmp = &(*h_tmp);
-      h_Var1D[i][j] = (TH1D*)hptr_tmp->Clone(histName[i][j]);
+      h_Var1D[i][j] = (TH1D*)hptr_tmp->Clone(histName[i][j].c_str());
       delete hptr_tmp;
     }
   }
-- 
GitLab