@@ -48,7 +48,7 @@ Docs...
4848 auto x1p = x1.unchecked <2 >();
4949 auto x2p = x2.unchecked <2 >();
5050 size_t n1 = x1p.shape (0 ), n2 = x2p.shape (0 );
51- if (x1p.shape (1 ) != ssize_t (self.ndim ()) || x2p.shape (1 ) != ssize_t (self.ndim ())) throw george::dimension_mismatch ();
51+ if (x1p.shape (1 ) != py:: ssize_t (self.ndim ()) || x2p.shape (1 ) != py:: ssize_t (self.ndim ())) throw george::dimension_mismatch ();
5252 py::array_t <double > result ({n1, n2});
5353 auto resultp = result.mutable_unchecked <2 >();
5454 for (size_t i = 0 ; i < n1; ++i) {
@@ -62,7 +62,7 @@ Docs...
6262 interface.def (" value_symmetric" , [](KernelInterface& self, py::array_t <double > x) {
6363 auto xp = x.unchecked <2 >();
6464 size_t n = xp.shape (0 );
65- if (xp.shape (1 ) != ssize_t (self.ndim ())) throw george::dimension_mismatch ();
65+ if (xp.shape (1 ) != py:: ssize_t (self.ndim ())) throw george::dimension_mismatch ();
6666 py::array_t <double > result ({n, n});
6767 auto resultp = result.mutable_unchecked <2 >();
6868 for (size_t i = 0 ; i < n; ++i) {
@@ -80,7 +80,7 @@ Docs...
8080 auto x1p = x1.unchecked <2 >();
8181 auto x2p = x2.unchecked <2 >();
8282 size_t n = x1p.shape (0 );
83- if (ssize_t (n) != x2p.shape (0 ) || x1p.shape (1 ) != ssize_t (self.ndim ()) || x2p.shape (1 ) != ssize_t (self.ndim ())) throw george::dimension_mismatch ();
83+ if (py:: ssize_t (n) != x2p.shape (0 ) || x1p.shape (1 ) != py:: ssize_t (self.ndim ()) || x2p.shape (1 ) != py:: ssize_t (self.ndim ())) throw george::dimension_mismatch ();
8484 py::array_t <double > result (n);
8585 auto resultp = result.mutable_unchecked <1 >();
8686 for (size_t i = 0 ; i < n; ++i) {
@@ -93,7 +93,7 @@ Docs...
9393 auto x1p = x1.unchecked <2 >();
9494 auto x2p = x2.unchecked <2 >();
9595 size_t n1 = x1p.shape (0 ), n2 = x2p.shape (0 ), size = self.size ();
96- if (x1p.shape (1 ) != ssize_t (self.ndim ()) || x2p.shape (1 ) != ssize_t (self.ndim ())) throw george::dimension_mismatch ();
96+ if (x1p.shape (1 ) != py:: ssize_t (self.ndim ()) || x2p.shape (1 ) != py:: ssize_t (self.ndim ())) throw george::dimension_mismatch ();
9797 py::array_t <double > result ({n1, n2, size});
9898 auto resultp = result.mutable_unchecked <3 >();
9999 auto w = which.unchecked <1 >();
@@ -109,7 +109,7 @@ Docs...
109109 interface.def (" gradient_symmetric" , [](KernelInterface& self, py::array_t <unsigned > which, py::array_t <double > x) {
110110 auto xp = x.unchecked <2 >();
111111 size_t n = xp.shape (0 ), size = self.size ();
112- if (xp.shape (1 ) != ssize_t (self.ndim ())) throw george::dimension_mismatch ();
112+ if (xp.shape (1 ) != py:: ssize_t (self.ndim ())) throw george::dimension_mismatch ();
113113 py::array_t <double > result ({n, n, size});
114114 auto resultp = result.mutable_unchecked <3 >();
115115 auto w = which.unchecked <1 >();
@@ -128,7 +128,7 @@ Docs...
128128 auto x1p = x1.unchecked <2 >();
129129 auto x2p = x2.unchecked <2 >();
130130 size_t n1 = x1p.shape (0 ), n2 = x2p.shape (0 ), ndim = self.ndim ();
131- if (x1p.shape (1 ) != ssize_t (ndim) || x2p.shape (1 ) != ssize_t (ndim)) throw george::dimension_mismatch ();
131+ if (x1p.shape (1 ) != py:: ssize_t (ndim) || x2p.shape (1 ) != py:: ssize_t (ndim)) throw george::dimension_mismatch ();
132132 py::array_t <double > result ({n1, n2, ndim});
133133 auto resultp = result.mutable_unchecked <3 >();
134134 for (size_t i = 0 ; i < n1; ++i) {
@@ -144,7 +144,7 @@ Docs...
144144 auto x1p = x1.unchecked <2 >();
145145 auto x2p = x2.unchecked <2 >();
146146 size_t n1 = x1p.shape (0 ), n2 = x2p.shape (0 ), ndim = self.ndim ();
147- if (x1p.shape (1 ) != ssize_t (ndim) || x2p.shape (1 ) != ssize_t (ndim)) throw george::dimension_mismatch ();
147+ if (x1p.shape (1 ) != py:: ssize_t (ndim) || x2p.shape (1 ) != py:: ssize_t (ndim)) throw george::dimension_mismatch ();
148148 py::array_t <double > result ({n1, n2, ndim});
149149 auto resultp = result.mutable_unchecked <3 >();
150150 for (size_t i = 0 ; i < n1; ++i) {
0 commit comments