Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyuzhi committed Sep 15, 2023
1 parent d9c4173 commit aea7281
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dgl_sparse/include/sparse/macro.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* @file macro.h
* @brief DGL C++ sparse API macros.
*/
#ifndef DGL_SPARSE_MACRO_H_
#define DGL_SPARSE_MACRO_H_
#ifndef SPARSE_MACRO_H_
#define SPARSE_MACRO_H_

namespace dgl {
namespace sparse {
Expand Down Expand Up @@ -61,4 +61,4 @@ namespace sparse {
} // namespace sparse
} // namespace dgl

#endif // DGL_SPARSE_MACRO_H_
#endif // SPARSE_MACRO_H_
8 changes: 5 additions & 3 deletions dgl_sparse/include/sparse/matrix_ops_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
* @file matrix_ops_impl.h
* @brief DGL C++ sparse matrix operator implementations.
*/
#ifndef DGL_SPARSE_MATRIX_OPS_IMPL_H_
#define DGL_SPARSE_MATRIX_OPS_IMPL_H_
#ifndef SPARSE_MATRIX_OPS_IMPL_H_
#define SPARSE_MATRIX_OPS_IMPL_H_

#include <sparse/sparse_format.h>

#include <tuple>

namespace dgl {
namespace sparse {

Expand Down Expand Up @@ -37,4 +39,4 @@ std::tuple<c10::intrusive_ptr<SparseMatrix>, torch::Tensor> CompactImpl(
} // namespace sparse
} // namespace dgl

#endif // DGL_SPARSE_MATRIX_OPS_IMPL_H_
#endif // SPARSE_MATRIX_OPS_IMPL_H_

0 comments on commit aea7281

Please sign in to comment.