Skip to content

Commit

Permalink
Running afoul of constexpr rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sz3 committed Jun 1, 2023
1 parent 4e33841 commit 1ec077b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/image_hash/ahash_result.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ahash_result
public:
static const int FAST = 5;
static const int ALL = 9;
static constexpr unsigned CELLAREA = std::pow(CELLSIZE+2, 2);
static constexpr unsigned CELLAREA = (CELLSIZE+2)*(CELLSIZE+2);

// out from the center.
// 4 == center.
Expand Down

0 comments on commit 1ec077b

Please sign in to comment.