Skip to content

Commit

Permalink
code-format
Browse files Browse the repository at this point in the history
  • Loading branch information
osschar committed Mar 1, 2022
1 parent 699c85f commit abecaed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion RecoTracker/MkFitCore/src/Matriplex/MatriplexVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Matriplex {
typedef typename MP::value_type T;

public:
MatriplexVector(idx_t n) : fN(n) { fV = (MP*) aligned_alloc64(sizeof(MP) * fN); }
MatriplexVector(idx_t n) : fN(n) { fV = (MP*)aligned_alloc64(sizeof(MP) * fN); }

~MatriplexVector() { std::free(fV); }

Expand Down
6 changes: 2 additions & 4 deletions RecoTracker/MkFitCore/src/Matriplex/Memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ namespace Matriplex {
return size & mask ? (size & ~mask) + 64 : size;
}

inline void* aligned_alloc64(std::size_t size) {
return std::aligned_alloc(64, round_up_align64(size));
}
inline void* aligned_alloc64(std::size_t size) { return std::aligned_alloc(64, round_up_align64(size)); }

}
} // namespace Matriplex

#endif

0 comments on commit abecaed

Please sign in to comment.