Skip to content
New issue

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

ValueError: Buffer and memoryview are not contiguous in the same dimension. #5

Open
Jiaqi-knight opened this issue Dec 6, 2020 · 0 comments

Comments

@Jiaqi-knight
Copy link

I try to use this code to form the derivates of my meshless scattered data cloud of CFD.
x is the ndarray[37817,2].
F is the value of x ndarray[37817,].

when input the data in the expertsolver_example.py.
the error occurs:

/home/wjq/MeshlessDerivatives/main.py
Traceback (most recent call last):
File "/home/wjq/MeshlessDerivatives/main.py", line 183, in
main()
File "/home/wjq/MeshlessDerivatives/main.py", line 177, in main
X,Y,Z = project_onto_regular_grid_2D(x, F, fit_order=2, nk=50)
File "/home/wjq/MeshlessDerivatives/main.py", line 92, in project_onto_regular_grid_2D
solver.prepare( xi=x, xk=x[hoods] ) # generate problem matrices from the geometry of the point cloud
File "wlsqm/fitter/expert.pyx", line 399, in wlsqm.fitter.expert.ExpertSolver.prepare
ValueError: Buffer and memoryview are not contiguous in the same dimension.

Process finished with exit code 1

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant