@@ -2217,25 +2217,25 @@ def testCustomGeometries(self):
22172217 E = write .iterations [0 ].meshes ["E" ]
22182218 E .set_attribute ("geometry" , "other:customGeometry" )
22192219 E_x = E ["x" ]
2220- E_x .reset_dataset (DS (DT . LONG , [10 ]))
2220+ E_x .reset_dataset (DS (np . dtype ( np . int_ ) , [10 ]))
22212221 E_x [:] = sample_data
22222222
22232223 B = write .iterations [0 ].meshes ["B" ]
22242224 B .set_geometry ("customGeometry" )
22252225 B_x = B ["x" ]
2226- B_x .reset_dataset (DS (DT . LONG , [10 ]))
2226+ B_x .reset_dataset (DS (np . dtype ( np . int_ ) , [10 ]))
22272227 B_x [:] = sample_data
22282228
22292229 e_energyDensity = write .iterations [0 ].meshes ["e_energyDensity" ]
22302230 e_energyDensity .set_geometry ("other:customGeometry" )
22312231 e_energyDensity_x = e_energyDensity [io .Mesh_Record_Component .SCALAR ]
2232- e_energyDensity_x .reset_dataset (DS (DT . LONG , [10 ]))
2232+ e_energyDensity_x .reset_dataset (DS (np . dtype ( np . int_ ) , [10 ]))
22332233 e_energyDensity_x [:] = sample_data
22342234
22352235 e_chargeDensity = write .iterations [0 ].meshes ["e_chargeDensity" ]
22362236 e_chargeDensity .set_geometry (io .Geometry .other )
22372237 e_chargeDensity_x = e_chargeDensity [io .Mesh_Record_Component .SCALAR ]
2238- e_chargeDensity_x .reset_dataset (DS (DT . LONG , [10 ]))
2238+ e_chargeDensity_x .reset_dataset (DS (np . dtype ( np . int_ ) , [10 ]))
22392239 e_chargeDensity_x [:] = sample_data
22402240
22412241 self .assertTrue (write )
0 commit comments