Skip to content

Commit

Permalink
anemoi: set constant private members const_a, const_b explicitly as c…
Browse files Browse the repository at this point in the history
…onstants
  • Loading branch information
Vesselin Velichkov committed Sep 5, 2022
1 parent d67e25d commit f0e4a56
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ template<typename FieldT> class anemoi_power_two_gadget : public gadget<FieldT>
{
private:
// constants
FieldT const_a;
FieldT const_b;
const FieldT const_a;
const FieldT const_b;

public:
// input/output
Expand Down Expand Up @@ -62,8 +62,8 @@ class anemoi_power_three_gadget : public gadget<FieldT>
/// internal (i.e. intermediate) variable
pb_variable<FieldT> internal;
/// constants
FieldT const_a;
FieldT const_b;
const FieldT const_a;
const FieldT const_b;

public:
/// input/output
Expand Down

0 comments on commit f0e4a56

Please sign in to comment.