diff --git a/api/obs/api/routes/mapdetails.py b/api/obs/api/routes/mapdetails.py index 5b0eba3..40c6edc 100644 --- a/api/obs/api/routes/mapdetails.py +++ b/api/obs/api/routes/mapdetails.py @@ -82,7 +82,7 @@ async def mapdetails_road(req): arrays = numpy.array(arrays).T if len(arrays) == 0: - arrays = numpy.array([[], [], [], []], dtype=numpy.float) + arrays = numpy.array([[], [], [], []], dtype=float) data, mask = arrays[:-1], arrays[-1] data = data.astype(numpy.float64)