[field] PointCloud bug fix
@@ -38,7 +38,7 @@ class PointCloud(SampledField):
bounds: (optional) size of the fixed domain in which the points should get visualized. None results in max and min coordinates of points.
color: (optional) hex code for color or tensor of colors (same length as elements) in which points should get plotted.
"""
- SampledField.__init__(self, elements, values, extrapolation)
+ SampledField.__init__(self, elements, math.wrap(values), extrapolation)
self._add_overlapping = add_overlapping
assert bounds is None or isinstance(bounds, Box), 'Invalid bounds.'
self._bounds = bounds
