Explorar o código

fixing make_affine()

tristangurtler %!s(int64=4) %!d(string=hai) anos
pai
achega
8e598f270b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bgn2/src/Bipoint.cpp

+ 1 - 1
bgn2/src/Bipoint.cpp

@@ -160,7 +160,7 @@ void TwistBipoint::make_affine()
 {
 	if (!(fp2e_isone(point[0]->m_z) || fp2e_iszero(point[0]->m_z)))
 		twistpoint_fp2_makeaffine(point[0]);
-	if (!(fp2e_isone(point[1]->m_z) || fp2e_iszero(point[0]->m_z)))
+	if (!(fp2e_isone(point[1]->m_z) || fp2e_iszero(point[1]->m_z)))
 		twistpoint_fp2_makeaffine(point[1]);
 }