From 72e9925d2b9d2f1d24c8cdf205af73236476e177 Mon Sep 17 00:00:00 2001
From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain>
Date: Thu, 25 Mar 2021 16:36:40 -0500
Subject: [PATCH] WIP: Factorize: test 11

---
 benchmarks/dvmp/analysis/vm_invar.cxx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/benchmarks/dvmp/analysis/vm_invar.cxx b/benchmarks/dvmp/analysis/vm_invar.cxx
index 5fe7c9b0..e73324f4 100644
--- a/benchmarks/dvmp/analysis/vm_invar.cxx
+++ b/benchmarks/dvmp/analysis/vm_invar.cxx
@@ -138,7 +138,9 @@ int vm_invar(const std::string& config_name)
   TH1D* h_sim[4];
   {
   auto h_tmp = d_im.Histo1D({"h_Q2_sim", ";Q^{2};#", 50, hist_range_l[0], hist_range_h[0]}, "Q2_sim");
-  h_sim[0] = &h_tmp;
+  //auto& h_tmp = *h_tmp;
+  
+  h_sim[0] = h_tmp;
   }
   
   //TH1D h_sim[4];
@@ -147,7 +149,7 @@ int vm_invar(const std::string& config_name)
   
   
   
-  h_sim[0] = d_im.Histo1D({"h_Q2_sim", ";Q^{2};#", 50, hist_range_l[0], hist_range_h[0]}, "Q2_sim");
+  //h_sim[0] = d_im.Histo1D({"h_Q2_sim", ";Q^{2};#", 50, hist_range_l[0], hist_range_h[0]}, "Q2_sim");
   
   /*for(int i = 0 ; i < 4 ; i++){
     if(i==1){
-- 
GitLab