Skip to content

[python] fix construction of YaspGrid with TensorProcutCoordinates

Christian Engwer requested to merge fix/167-py-tensorproduct-coordinates into master

while trying to ensure type correctness of the coordinates passed to the YaspGrid constructor, we accidentially enforced the same number of points in every coordinate direction.

We fix this by mapping coords to a list of numpy.array's instead of a numpy.array directly.

fixes #167 (closed)

Merge request reports

Loading