@@ -199,10 +199,6 @@ def add(x1, x2, dtype=None, out=None, where=True, **kwargs):
199199 pass
200200 elif x2_is_dparray and x2 .ndim == 0 :
201201 pass
202- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
203- pass
204- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
205- pass
206202 elif out is not None and not isinstance (out , dparray ):
207203 pass
208204 elif dtype is not None :
@@ -353,10 +349,6 @@ def copysign(x1, x2, dtype=None, out=None, where=True, **kwargs):
353349 pass
354350 elif x2_is_dparray and x2 .ndim == 0 :
355351 pass
356- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
357- pass
358- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
359- pass
360352 elif dtype is not None :
361353 pass
362354 elif out is not None :
@@ -558,10 +550,6 @@ def divide(x1, x2, dtype=None, out=None, where=True, **kwargs):
558550 pass
559551 elif x2_is_dparray and x2 .ndim == 0 :
560552 pass
561- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
562- pass
563- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
564- pass
565553 elif dtype is not None :
566554 pass
567555 elif out is not None :
@@ -805,10 +793,6 @@ def fmod(x1, x2, dtype=None, out=None, where=True, **kwargs):
805793 pass
806794 elif x2_is_dparray and x2 .ndim == 0 :
807795 pass
808- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
809- pass
810- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
811- pass
812796 elif out is not None and not isinstance (out , dparray ):
813797 pass
814798 elif dtype is not None :
@@ -907,10 +891,6 @@ def maximum(x1, x2, dtype=None, out=None, where=True, **kwargs):
907891 pass
908892 elif x2_is_dparray and x2 .ndim == 0 :
909893 pass
910- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
911- pass
912- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
913- pass
914894 elif dtype is not None :
915895 pass
916896 elif out is not None :
@@ -965,10 +945,6 @@ def minimum(x1, x2, dtype=None, out=None, where=True, **kwargs):
965945 pass
966946 elif x2_is_dparray and x2 .ndim == 0 :
967947 pass
968- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
969- pass
970- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
971- pass
972948 elif dtype is not None :
973949 pass
974950 elif out is not None :
@@ -1299,10 +1275,6 @@ def power(x1, x2, dtype=None, out=None, where=True, **kwargs):
12991275 pass
13001276 elif x2_is_dparray and x2 .ndim == 0 :
13011277 pass
1302- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
1303- pass
1304- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
1305- pass
13061278 elif out is not None and not isinstance (out , dparray ):
13071279 pass
13081280 elif dtype is not None :
@@ -1482,10 +1454,6 @@ def subtract(x1, x2, dtype=None, out=None, where=True, **kwargs):
14821454 pass
14831455 elif x2_is_dparray and x2 .dtype == numpy .bool :
14841456 pass
1485- elif x1_is_dparray and x2_is_dparray and x1 .size != x2 .size :
1486- pass
1487- elif x1_is_dparray and x2_is_dparray and x1 .shape != x2 .shape :
1488- pass
14891457 elif dtype is not None :
14901458 pass
14911459 elif out is not None :
0 commit comments