TVector3 constructor default values in v5r34p18

I noticed that TVector3.h has changed in the latest production version. Specifically, the constructor now no longer allows TVector3 v(3.0) with the other two values set by default to 0.0. The constructor in math/physics/inc/TVector3.h under v5r34p18 now looks like TVector3(Double_t x, Double_t y, Double_t z);.

I couldn’t find any documentation online regarding this change, the current TVector3.html docs still show the old constructor version. Does anyone have information regarding this change?

Thanks.

Hi,

thanks for reporting this.
This is actually an old change. You can see the details in the web interface of the git repository of ROOT:
root.cern.ch/gitweb?p=root.git;a … 4ce334944c

Because of a glitch, the online documentation seems to be out of sync: we are looking into it.

Cheers,
Danilo

Hi,

the problem has been solved and the documentation is being updated again.
Now, for example, the constructor of TVector3 looks again good:
root.cern.ch/root/html/TVector3.html

Cheers,
Danilo