Skip to content

Commit b86d892

Browse files
committed
suggested details
1 parent 0d3d2fc commit b86d892

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/sage/rings/integer.pyx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ new_gen_from_integer = None
207207
cdef extern from *:
208208
int unlikely(int) nogil # Defined by Cython
209209

210-
cdef object numpy_long_interface = {'typestr': '=i4' if sizeof(long) == 4
211-
else '=i8'}
210+
cdef object numpy_long_interface = {'typestr': '=i4' if sizeof(long) == 4 else '=i8'}
212211
cdef object numpy_int64_interface = {'typestr': '=i8'}
213212
cdef object numpy_object_interface = {'typestr': '|O'}
214213

@@ -5274,8 +5273,8 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
52745273
return (self, zero) if get_data else False
52755274

52765275
_small_primes_table[:] = [
5277-
0,1,1,1,0,1,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0, # 001, 03,..., 49
5278-
0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,0,0,1,0,0,0,1,0, # 051, 53,..., 99
5276+
0,1,1,1,0,1,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0, # 1,3,...,49
5277+
0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,0,0,1,0,0,0,1,0, # 51,53,...,99
52795278
1,1,0,1,1,0,1,0,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,0,1, # 101,103,...,149
52805279
1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,1,0,0,0,0,1,1,0,1,1, # 151,153,...,199
52815280
0,0,0,0,0,1,0,0,0,0,0,1,0,1,1,0,1,0,0,1,1,0,0,0,0, # 201,203,...,249

0 commit comments

Comments
 (0)