Skip to content

Commit da453f8

Browse files
committed
Fix syntax errors
1 parent faac8a1 commit da453f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

quaddtype/numpy_quaddtype/src/casts.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,14 @@ quad_to_quad_strided_loop_aligned(PyArrayMethod_Context *context, char *const da
152152
}
153153

154154
// Template magic to ensure npy_bool/npy_ubyte and npy_half/npy_ushort do not alias in templates
155-
struct my_npy_bool {}
156-
struct my_npy_half {}
155+
struct my_npy_bool {};
156+
struct my_npy_half {};
157157

158158
template<typename T>
159159
struct NpyType { typedef T TYPE; };
160160
template<>
161161
struct NpyType<my_npy_bool>{ typedef npy_bool TYPE; };
162+
template<>
162163
struct NpyType<my_npy_half>{ typedef npy_half TYPE; };
163164

164165
// Casting from other types to QuadDType

0 commit comments

Comments
 (0)