Skip to content

Commit

Permalink
chore(math): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chokobole committed Sep 25, 2023
1 parent 55c80a6 commit 9585ee8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tachyon/math/finite_fields/prime_field_correctness_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ std::vector<PrimeFieldType> PrimeFieldCorrectnessTest<PrimeFieldType>::bs_;
} // namespace

#if defined(TACHYON_POLYGON_ZKEVM_BACKEND)
using PrimeFiledTypes = testing::Types<bn254::Fr, bn254::Fq, secp256k1::Fq,
using PrimeFieldTypes = testing::Types<bn254::Fr, bn254::Fq, secp256k1::Fq,
secp256k1::Fr, FrGpuDebug>;
#else
using PrimeFiledTypes = testing::Types<bn254::Fr, FrGpuDebug>;
using PrimeFieldTypes = testing::Types<bn254::Fr, FrGpuDebug>;
#endif
TYPED_TEST_SUITE(PrimeFieldCorrectnessTest, PrimeFiledTypes);
TYPED_TEST_SUITE(PrimeFieldCorrectnessTest, PrimeFieldTypes);

TYPED_TEST(PrimeFieldCorrectnessTest, MontgomeryForm) {
using F = TypeParam;
Expand Down
6 changes: 3 additions & 3 deletions tachyon/math/finite_fields/prime_field_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class PrimeFieldTest : public testing::Test {
} // namespace

#if defined(TACHYON_GMP_BACKEND)
using PrimeFiledTypes = testing::Types<GF7, GF7Gmp>;
using PrimeFieldTypes = testing::Types<GF7, GF7Gmp>;
#else
using PrimeFiledTypes = testing::Types<GF7>;
using PrimeFieldTypes = testing::Types<GF7>;
#endif
TYPED_TEST_SUITE(PrimeFieldTest, PrimeFiledTypes);
TYPED_TEST_SUITE(PrimeFieldTest, PrimeFieldTypes);

TYPED_TEST(PrimeFieldTest, FromString) {
using F = TypeParam;
Expand Down

0 comments on commit 9585ee8

Please sign in to comment.