Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Small simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
embray committed Mar 13, 2018
1 parent d098e42 commit c9bf350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/randstate.pyx
Expand Up @@ -593,7 +593,7 @@ cdef class randstate:
if cls is None:
cls = DEFAULT_PYTHON_RANDOM

if self._python_random is not None and type(self._python_random) is cls:
if type(self._python_random) is cls:
return self._python_random

from sage.rings.integer_ring import ZZ
Expand Down

0 comments on commit c9bf350

Please sign in to comment.