Skip to content

Commit

Permalink
refac(zk): delete unused default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
batzor committed Sep 27, 2024
1 parent 1da709c commit cfa0e10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tachyon/zk/plonk/halo2/pinned_evaluation_domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace zk::plonk::halo2 {
template <typename F>
class PinnedEvaluationDomain {
public:
PinnedEvaluationDomain() = default;
PinnedEvaluationDomain() = delete;
PinnedEvaluationDomain(uint32_t k, uint32_t extended_k, const F& omega)
: k_(k), extended_k_(extended_k), omega_(omega) {}
PinnedEvaluationDomain(uint32_t k, uint32_t extended_k, F&& omega)
Expand All @@ -38,8 +38,8 @@ class PinnedEvaluationDomain {
const F& omega() const { return omega_; }

private:
uint32_t k_ = 0;
uint32_t extended_k_ = 0;
uint32_t k_;
uint32_t extended_k_;
F omega_;
};

Expand Down

0 comments on commit cfa0e10

Please sign in to comment.