Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d764dbde authored by hhakim's avatar hhakim
Browse files

Set TransformHelperGen::is_row_sliced and is_col_sliced to const.

parent 71d4d973
Branches
Tags
No related merge requests found
......@@ -103,8 +103,8 @@ namespace Faust
void get_item(faust_unsigned_int i, faust_unsigned_int j, MatDense<FPP, DEV>& out_mat, faust_unsigned_int &out_id);
bool is_row_fancy_indexed() {return is_fancy_indexed && fancy_indices[0] != nullptr;}
bool is_col_fancy_indexed() {return is_fancy_indexed && fancy_indices[1] != nullptr;}
bool is_row_sliced() {return is_sliced && (slices[0].start_id != 0 || slices[0].end_id != this->getNbRow());}
bool is_col_sliced() {return is_sliced && (slices[1].start_id != 0 || slices[1].end_id != this->getNbCol());}
bool is_row_sliced() const {return is_sliced && (slices[0].start_id != 0 || slices[0].end_id != this->getNbRow());}
bool is_col_sliced() const {return is_sliced && (slices[1].start_id != 0 || slices[1].end_id != this->getNbCol());}
virtual ~TransformHelperGen();
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment