Selaa lähdekoodia

fixing make_affine()

tristangurtler 5 vuotta sitten
vanhempi
commit
eb8683e425
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      bgn2/src/Bipoint.cpp

+ 1 - 1
bgn2/src/Bipoint.cpp

@@ -152,7 +152,7 @@ void CurveBipoint::make_affine()
 {
 	if (!(fpe_isone(point[0]->m_z) || fpe_iszero(point[0]->m_z)))
 		curvepoint_fp_makeaffine(point[0]);
-	if (!(fpe_isone(point[1]->m_z) || fpe_iszero(point[0]->m_z)))
+	if (!(fpe_isone(point[1]->m_z) || fpe_iszero(point[1]->m_z)))
 		curvepoint_fp_makeaffine(point[1]);
 }