Skip to content
Snippets Groups Projects
Commit 70dd3270 authored by EXT Jean-Matthieu Etancelin's avatar EXT Jean-Matthieu Etancelin
Browse files

fix test_field : field init from empty alloc may contains NaN

parent 59c5cb00
No related branches found
No related tags found
2 merge requests!24Resolve "Add python3.x support",!15WIP: Resolve "HySoP with tasks"
......@@ -209,7 +209,6 @@ def test_tensor_field():
for df in DT12.data:
assert np.all(df == 12)
str(DT0)
DT0.short_description()
assert str(DT0) == DT0.long_description()
......@@ -222,9 +221,9 @@ def test_tensor_field():
DT9.rename('foo')
DT9.initialize(func)
DT10.randomize()
DT9.initialize(DT10.data)
DT9.fill(4)
DT9.randomize()
DT9.copy(DT0[1:, 1:])
DT9.has_ghosts()
......@@ -385,6 +384,6 @@ def test_boundaries():
if __name__ == '__main__':
test_field()
# test_field()
test_tensor_field()
test_boundaries()
# test_boundaries()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment