We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue opened fom a Forum post
import ROOT import numpy as np a = ROOT.vector("vector<vector<float>>")() # 3D a1 = ROOT.vector("vector<float>")() # 2D a2 = ROOT.vector("float")() a2.push_back(1.) a2.push_back(2.) a2.push_back(3.) a1.push_back(a2) a1.push_back(a2) a1.push_back(a2) a.push_back(a1) a.push_back(a1) a.push_back(a1) print(a) print(np.array(a).shape) # 3D print(np.array(a1).shape) # 2D
The output should be, as given by 6.30.06:
{ { { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f } }, { { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f } }, { { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f } } } (3, 3, 3) (3, 3)
However, for 6.34.04 it is:
{ { { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f } }, { { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f } }, { { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f }, { 1.00000f, 2.00000f, 3.00000f } } } (3,) (3,)
6.34.04
all
No response
The text was updated successfully, but these errors were encountered:
guitargeek
aaronj0
No branches or pull requests
Check duplicate issues.
Description
Issue opened fom a Forum post
Reproducer
The output should be, as given by 6.30.06:
However, for 6.34.04 it is:
ROOT version
6.34.04
Installation method
all
Operating system
all
Additional context
No response
The text was updated successfully, but these errors were encountered: