Skip to content

Commit

Permalink
Annotate ~PyDataTable with override, add NOLINT to read_element
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Nov 2, 2024
1 parent c35970e commit e71c19e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct PyDataTable : public IDataTable
* @param py_table
*/
PyDataTable(pybind11::object&& py_table);
~PyDataTable();
~PyDataTable() override;

/**
* @brief cuDF table rows count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ struct TensorObject final
}

template <typename T, RankType N>
T read_element(const TensorIndex (&idx)[N]) const
T read_element(const TensorIndex (&idx)[N]) const // NOLINT(modernize-avoid-c-arrays)
{
auto stride = this->get_stride();
auto shape = this->get_shape();
Expand Down

0 comments on commit e71c19e

Please sign in to comment.