# Dataloader problem

**URL:** <https://root-forum.cern.ch/t/dataloader-problem/61157>\
**Category:** TMVA\
**Created:** [September 4, 2024, 12:51pm UTC](https://root-forum.cern.ch/t/dataloader-problem/61157 "2024-09-04T12:51:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TField](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/tfield/32/36014_2.png) [@TField](https://root-forum.cern.ch/u/TField)\
**Post date:** [September 4, 2024, 12:51pm UTC](https://root-forum.cern.ch/t/dataloader-problem/61157/1 "2024-09-04T12:51:58Z")

</div>

If I add dataloader-\>AddVariable(“ru/rl\>0?1:0”,‘I’) in my TMVA program, it will occur : histograms with zero entries: 0 : 0 cannot compute separation  
 : histograms with zero entries: 0 : 0 cannot compute separation  
: -nan -nan -nan -nan -nan -nan  
 : signal and background histograms have different or invalid dimensions:  
\*\*\*\> abort program execution  
terminate called after throwing an instance of ‘std::runtime\_error’  
what(): FATAL error  
And the distribution of “ru/rl\>0?1:0” is attached here, no NaN, no Infinite; so what’s wrong here.

 ![d770c68b6877a45a1a4e8f0d104a2d6](https://root-forum.cern.ch/uploads/default/original/3X/c/d/cd4a0d76899f9ff3b05c752d99e114cf206c8afc.png)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 4, 2024, 1:09pm UTC](https://root-forum.cern.ch/t/dataloader-problem/61157/2 "2024-09-04T13:09:53Z")

</div>

Let’s ask @moneta our TMVA expert.

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [September 4, 2024, 6:24pm UTC](https://root-forum.cern.ch/t/dataloader-problem/61157/3 "2024-09-04T18:24:54Z")

</div>

Hello,  
I would need a reproducable code with the input file for understanding the cause of the problem.  
Thank you and best regards

Lorenzo
