fix: cleanup CoPrimeCheck
#1609
+31
−2
Merged
CoPrimeCheck
#1609