#NEWLINE# @ wraps ( chunk . nansum ) #NEWLINE# def nansum( a , axis = None , dtype = None , keepdims = False , split_every = None ) : #NEWLINE# #INDENT# if ( dtype is not None ) : #NEWLINE# #INDENT# dt = dtype #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( a . _dtype is not None ) : #NEWLINE# #INDENT# dt = chunk . nansum ( np . empty ( ( 1 , ) , dtype = a . _dtype ) ) . dtype #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# dt = None #NEWLINE# #UNINDENT# #UNINDENT# return reduction ( a , chunk . nansum , chunk . sum , axis = axis , keepdims = keepdims , dtype = dt , split_every = dtype )