@@ -199,10 +199,6 @@ def add(x1, x2, dtype=None, out=None, where=True, **kwargs):
199
199
pass
200
200
elif x2_is_dparray and x2 .ndim == 0 :
201
201
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
206
202
elif out is not None and not isinstance (out , dparray ):
207
203
pass
208
204
elif dtype is not None :
@@ -353,10 +349,6 @@ def copysign(x1, x2, dtype=None, out=None, where=True, **kwargs):
353
349
pass
354
350
elif x2_is_dparray and x2 .ndim == 0 :
355
351
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
360
352
elif dtype is not None :
361
353
pass
362
354
elif out is not None :
@@ -558,10 +550,6 @@ def divide(x1, x2, dtype=None, out=None, where=True, **kwargs):
558
550
pass
559
551
elif x2_is_dparray and x2 .ndim == 0 :
560
552
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
565
553
elif dtype is not None :
566
554
pass
567
555
elif out is not None :
@@ -805,10 +793,6 @@ def fmod(x1, x2, dtype=None, out=None, where=True, **kwargs):
805
793
pass
806
794
elif x2_is_dparray and x2 .ndim == 0 :
807
795
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
812
796
elif out is not None and not isinstance (out , dparray ):
813
797
pass
814
798
elif dtype is not None :
@@ -907,10 +891,6 @@ def maximum(x1, x2, dtype=None, out=None, where=True, **kwargs):
907
891
pass
908
892
elif x2_is_dparray and x2 .ndim == 0 :
909
893
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
914
894
elif dtype is not None :
915
895
pass
916
896
elif out is not None :
@@ -965,10 +945,6 @@ def minimum(x1, x2, dtype=None, out=None, where=True, **kwargs):
965
945
pass
966
946
elif x2_is_dparray and x2 .ndim == 0 :
967
947
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
972
948
elif dtype is not None :
973
949
pass
974
950
elif out is not None :
@@ -1299,10 +1275,6 @@ def power(x1, x2, dtype=None, out=None, where=True, **kwargs):
1299
1275
pass
1300
1276
elif x2_is_dparray and x2 .ndim == 0 :
1301
1277
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
1306
1278
elif out is not None and not isinstance (out , dparray ):
1307
1279
pass
1308
1280
elif dtype is not None :
@@ -1482,10 +1454,6 @@ def subtract(x1, x2, dtype=None, out=None, where=True, **kwargs):
1482
1454
pass
1483
1455
elif x2_is_dparray and x2 .dtype == numpy .bool :
1484
1456
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
1489
1457
elif dtype is not None :
1490
1458
pass
1491
1459
elif out is not None :
0 commit comments