소스 검색

fixing make_affine()

tristangurtler 5 년 전
부모
커밋
8e598f270b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]);
 }