From 6c4ed67fe84efae2cbe51c03a4542935b43a8e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 26 May 2013 10:51:42 +0200 Subject: [PATCH] Wrap lines --- skimage/transform/_geometric.py | 4 ++-- skimage/transform/_warps_cy.pyx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/transform/_geometric.py b/skimage/transform/_geometric.py index 57a4fe19..a7fdaf6d 100644 --- a/skimage/transform/_geometric.py +++ b/skimage/transform/_geometric.py @@ -493,8 +493,8 @@ class SimilarityTransform(ProjectiveTransform): for param in (scale, rotation, translation)) if params and matrix is not None: - raise ValueError("You cannot specify the transformation matrix and " - "the implicit parameters at the same time.") + raise ValueError("You cannot specify the transformation matrix and" + " the implicit parameters at the same time.") elif matrix is not None: if matrix.shape != (3, 3): raise ValueError("Invalid shape of transformation matrix.") diff --git a/skimage/transform/_warps_cy.pyx b/skimage/transform/_warps_cy.pyx index 3ffe9b9b..f3a11b45 100644 --- a/skimage/transform/_warps_cy.pyx +++ b/skimage/transform/_warps_cy.pyx @@ -35,8 +35,8 @@ cdef inline void _matrix_transform(double x, double y, double* H, double *x_, y_[0] = yy / zz -def _warp_fast(cnp.ndarray image, cnp.ndarray H, output_shape=None, int order=1, - mode='constant', double cval=0): +def _warp_fast(cnp.ndarray image, cnp.ndarray H, output_shape=None, + int order=1, mode='constant', double cval=0): """Projective transformation (homography). Perform a projective transformation (homography) of a