Skip to content

Conversation

@ferdymercury
Copy link
Collaborator

noticed by @makortel in #19645 (comment)

name,formula should have an overload not using option, for symmetry with current TF1:

TF1(const char *name, const char *formula, Double_t xmin = 0, Double_t xmax = 1, EAddToList addToGlobList = EAddToList::kDefault, bool vectorize = false);
TF1(const char *name, const char *formula, Double_t xmin, Double_t xmax, Option_t * option);  // same as above but using a string for option

These were missed when adding the different overloads on TF2 and TF3

noticed by makortel in root-project#19645 (comment)

name,formula should have an overload not using option, for symmetry with current TF1:

 TF1(const char *name, const char *formula, Double_t xmin = 0, Double_t xmax = 1, EAddToList addToGlobList = EAddToList::kDefault, bool vectorize = false);
 TF1(const char *name, const char *formula, Double_t xmin, Double_t xmax, Option_t * option);  // same as above but using a string for option

These were missed when adding the different overloads on TF2 and TF3
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

Test Results

    22 files      22 suites   3d 17h 47m 25s ⏱️
 3 792 tests  3 791 ✅ 0 💤 1 ❌
80 337 runs  80 336 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 1ab6d0f.

♻️ This comment has been updated with latest results.

@ferdymercury ferdymercury marked this pull request as ready for review January 5, 2026 14:47
@ferdymercury ferdymercury requested a review from lmoneta as a code owner January 5, 2026 14:47
@ferdymercury ferdymercury requested a review from hageboeck January 5, 2026 14:48
@makortel
Copy link

makortel commented Jan 5, 2026

Thanks!

Copy link
Member

@hageboeck hageboeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @ferdymercury,

please have a look at the suggestions below. I think we should make sure that the min max arguments are placed and used consistently.

Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants