This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository pysal.
commit 26d61bb464141293cc23417c7c1659fc5e294f41 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Mon Sep 25 07:44:29 2017 +0200 Add patch to fix inconsistent use of tabs and spaces in indentation. (closes: #876700) --- debian/changelog | 8 ++++++++ debian/patches/TabError.patch | 38 ++++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 47 insertions(+) diff --git a/debian/changelog b/debian/changelog index a562d90..2fc99ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +pysal (1.14.2-2) UNRELEASED; urgency=medium + + * Team upload. + * Add patch to fix inconsistent use of tabs and spaces in indentation. + (closes: #876700) + + -- Bas Couwenberg <sebas...@debian.org> Mon, 25 Sep 2017 07:43:56 +0200 + pysal (1.14.2-1) unstable; urgency=medium * Team upload. diff --git a/debian/patches/TabError.patch b/debian/patches/TabError.patch new file mode 100644 index 0000000..dbb56f9 --- /dev/null +++ b/debian/patches/TabError.patch @@ -0,0 +1,38 @@ +Description: Fix inconsistent use of tabs and spaces in indentation. +Author: Bas Couwenberg <sebas...@debian.org> +Bug-Debian: https://bugs.debian.org/876700 +Forwarded: https://github.com/pysal/pysal/pull/983 + +--- a/pysal/contrib/glm/iwls.py ++++ b/pysal/contrib/glm/iwls.py +@@ -45,7 +45,7 @@ def iwls(y, x, family, offset, y_fix, + diff = 1.0e6 + + if ini_betas is None: +- betas = np.zeros((x.shape[1], 1), np.float) ++ betas = np.zeros((x.shape[1], 1), np.float) + else: + betas = ini_betas + +@@ -53,9 +53,9 @@ def iwls(y, x, family, offset, y_fix, + y = family.link._clean(y) + if isinstance(family, Poisson): + y_off = y/offset +- y_off = family.starting_mu(y_off) +- v = family.predict(y_off) +- mu = family.starting_mu(y) ++ y_off = family.starting_mu(y_off) ++ v = family.predict(y_off) ++ mu = family.starting_mu(y) + else: + mu = family.starting_mu(y) + v = family.predict(mu) +@@ -78,7 +78,7 @@ def iwls(y, x, family, offset, y_fix, + mu = family.fitted(v) + + if isinstance(family, Poisson): +- mu = mu * offset ++ mu = mu * offset + + diff = min(abs(n_betas-betas)) + betas = n_betas diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6884635 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +TabError.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pysal.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel