Skip to content

Commit fa7b526

Browse files
committed
Fix for empty set
1 parent adb6d57 commit fa7b526

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

SimPEG/dask/electromagnetics/time_domain/simulation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ def get_field_deriv_block(
333333
if len(stacked_blocks) > 0:
334334
blocks = array.hstack(stacked_blocks).compute()
335335
solve = AdiagTinv * blocks
336+
else:
337+
solve = None
336338

337339
update_list = []
338340
for address in block:

0 commit comments

Comments
 (0)