| 1 |
Authorscip-debian debian scikit-misc 0.3.1+dfsg2-1 scikit-misc/patches/`fix-typos.patch`#Author.: Diane Trout <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Descriptionscip-debian debian scikit-misc 0.3.1+dfsg2-1 scikit-misc/patches/`fix-typos.patch`#Description.: lintian spotted a few typos |
| 3 |
Forwardedscip-debian debian scikit-misc 0.3.1+dfsg2-1 scikit-misc/patches/`fix-typos.patch`#Forwarded.: https://github.com/has2k1/scikit-misc/issues/14 |
| 4 |
|
| 5 |
|
| 6 |
--- a/skmisc/loess/src/_loess.pyxscip-debian debian scikit-misc 0.3.1+dfsg2-1 scikit-misc/upstream/`skmisc/loess/src/_loess.pyx`: |
| 7 |
+++ b/skmisc/loess/src/_loess.pyxscip-debian debian scikit-misc 0.3.1+dfsg2-1 scikit-misc/upstream/`skmisc/loess/src/_loess.pyx`: |
| 8 |
@@ -88,14 +88,14 @@ |
| 9 |
elif x.ndim == 2: |
| 10 |
p = x.shape[1] |
| 11 |
else: |
| 12 |
|
| 13 |
+ raise ValueError("The array of independent variables " |
| 14 |
"should be 2D at most!") |
| 15 |
|
| 16 |
if y.ndim != 1: |
| 17 |
raise ValueError("The array of dependent variables " |
| 18 |
"should be 1D.") |
| 19 |
elif n != len(y): |
| 20 |
|
| 21 |
+ raise ValueError("The independent and dependent variables " |
| 22 |
"should have the same number of " |
| 23 |
"observations.") |
| 24 |
|