@@ -136,7 +136,7 @@ def boundary_normal(self, x):
136136 )
137137
138138 def random_points (self , n , random = "pseudo" ):
139- x = np .empty (shape = (n , self .dim ))
139+ x = np .empty (shape = (n , self .dim ), dtype = config . real ( np ) )
140140 i = 0
141141 while i < n :
142142 tmp = self .geom1 .random_points (n , random = random )
@@ -149,7 +149,7 @@ def random_points(self, n, random="pseudo"):
149149 return x
150150
151151 def random_boundary_points (self , n , random = "pseudo" ):
152- x = np .empty (shape = (n , self .dim ))
152+ x = np .empty (shape = (n , self .dim ), dtype = config . real ( np ) )
153153 i = 0
154154 while i < n :
155155
@@ -225,7 +225,7 @@ def boundary_normal(self, x):
225225 )
226226
227227 def random_points (self , n , random = "pseudo" ):
228- x = np .empty (shape = (n , self .dim ))
228+ x = np .empty (shape = (n , self .dim ), dtype = config . real ( np ) )
229229 i = 0
230230 while i < n :
231231 tmp = self .geom1 .random_points (n , random = random )
@@ -238,7 +238,7 @@ def random_points(self, n, random="pseudo"):
238238 return x
239239
240240 def random_boundary_points (self , n , random = "pseudo" ):
241- x = np .empty (shape = (n , self .dim ))
241+ x = np .empty (shape = (n , self .dim ), dtype = config . real ( np ) )
242242 i = 0
243243 while i < n :
244244
0 commit comments