/Users/couet/Downloads/test.C:20:18: error: called object type 'TVectorF *' (aka
'TVectorT<Float_t> *') is not a function or function pointer
int number= pmin(0);
~~~~^
/Users/couet/Downloads/test.C:21:20: error: called object type 'TVectorF *' (aka
'TVectorT<Float_t> *') is not a function or function pointer
float pval = pmin(1);
/Users/couet/Downloads/test.C:20:18: error: called object type 'TVectorF *' (aka
'TVectorT<Float_t> *') is not a function or function pointer
int number= pmin(0);
~~~~^
/Users/couet/Downloads/test.C:21:20: error: called object type 'TVectorF *' (aka
'TVectorT<Float_t> *') is not a function or function pointer
float pval = pmin(1);
Please post something correct.[/quote]
It does work perfectly fine for me in any directory and I don’t see any problems with the code. Did it open the root file correctly for you?
1st of all. Thanks, removing same makes it an arrow.
2nd. Thanks for fixing my stupid mistake, I incorrectly assumed that arrow would need same to draw on the same canvas.
3rd. Thanks.