Try: TF1 *f = new TF1("f", "x * ((x > 0) ? 1 : 0) - x * ((x > 0) ? 1 : 0)", -1, 1);
f->Draw();
HI,
This is a known bug. There is already an open JIRA item. Since is ROOT 5 with the old Formula it will not be fixed
Lorenzo
Try: TF1 *f = new TF1("f", "x * ((x > 0) ? 1 : 0) - x * ((x > 0) ? 1 : 0)", -1, 1);
f->Draw();
HI,
This is a known bug. There is already an open JIRA item. Since is ROOT 5 with the old Formula it will not be fixed
Lorenzo