no reason to demand float32 yet
This commit is contained in:
parent
89976647f2
commit
39c05d2cab
1 changed files with 2 additions and 2 deletions
|
|
@ -303,8 +303,8 @@ class JdotE_3DUniformDX(unittest.TestCase):
|
||||||
self.epsilon = numpy.full(shape, 4, dtype=float)
|
self.epsilon = numpy.full(shape, 4, dtype=float)
|
||||||
self.epsilon[self.src_mask] = 2
|
self.epsilon[self.src_mask] = 2
|
||||||
|
|
||||||
e = numpy.random.randint(-128, 128 + 1, size=shape).astype(numpy.float32)
|
e = numpy.random.randint(-128, 128 + 1, size=shape).astype(float)
|
||||||
h = numpy.random.randint(-128, 128 + 1, size=shape).astype(numpy.float32)
|
h = numpy.random.randint(-128, 128 + 1, size=shape).astype(float)
|
||||||
self.es = [e]
|
self.es = [e]
|
||||||
self.hs = [h]
|
self.hs = [h]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue