Issue using PrimitiveCellTransformation
prim=PrimitiveCellTransformation();
primitive = prim.apply_transformaiton(structure)
ValueError Traceback (most recent call last) Cell In[5], line 5 3 if not site.is_ordered: 4 base1[i]=pymatgen.optimization.neighbors.find_points_in_spheres() ValueError: Buffer dtype mismatch, expected ‘const int64_t’ but got ‘long’
my pymatgen version is ==2024.8.9
numpy version is 1.26.4
I also tried to different version of pymatgen ==2024.5.31 but it did not work.
Any suggestion?
Thank you