|
@@ -93,13 +93,13 @@ def Mediana(v1, v2, p1, q1, p2, q2)
|
|
|
j2u = p2+(q2-p2+1)/2
|
|
|
|
|
|
tmpv1 = v1[j1l] + v1[j1u]
|
|
|
- tmpv2 = v2[j2l] + v2[j2u]
|
|
|
+ tmpv2 = v2[j2l] + v2[j2u]
|
|
|
|
|
|
- if tmpv1 > tmpv2
|
|
|
+ if tmpv1 > tmpv2
|
|
|
return Mediana(v1, v2, p1, j1l, j2u, q2)
|
|
|
- else
|
|
|
+ else
|
|
|
return Mediana(v1, v2, j1u, q1, p2, j2l)
|
|
|
- end
|
|
|
+ end
|
|
|
end
|
|
|
|
|
|
size = 30
|