Skip to content

Commit

Permalink
added default parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
santialf committed Mar 6, 2024
1 parent b31beb6 commit bd8897e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sparsebase/reorder/gray_reorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ enum BitMapSize{
};
//! Params struct for GrayReorder
struct GrayReorderParams : utils::Parameters {
BitMapSize resolution;
int nnz_threshold;
int sparse_density_group_size;
BitMapSize resolution = BitMapSize::BitSize16;
int nnz_threshold = 20;
int sparse_density_group_size = 1;
explicit GrayReorderParams() {}
GrayReorderParams(BitMapSize r, int nnz_thresh, int group_size)
: resolution(r),
Expand Down

0 comments on commit bd8897e

Please sign in to comment.