From 77a3566aba230797349353fc6b0950a1ba4fb68e Mon Sep 17 00:00:00 2001 From: Kristian Arjas Date: Tue, 26 Oct 2021 15:10:25 +0300 Subject: [PATCH] Fix MaterialInterpolator memory issue --- qpms/cymaterials.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpms/cymaterials.pxd b/qpms/cymaterials.pxd index 6ce8984..7e499bf 100644 --- a/qpms/cymaterials.pxd +++ b/qpms/cymaterials.pxd @@ -18,7 +18,7 @@ cdef class MaterialInterpolator: cdef readonly double omegamin cdef readonly double omegamax cdef inline void *rawpointer(self): - return &(self.interp) + return (self.interp) cdef class EpsMu: cdef public qpms_epsmu_t em