Fix deprecation warning np.sum(generator)
#2296
+1
−1
Merged
np.sum(generator)
#2296