Skip to content

Commit

Permalink
Made functions inline to resolve multiple definition issues during co…
Browse files Browse the repository at this point in the history
…mpilation and linking
  • Loading branch information
PabloIbannez committed Jul 26, 2024
1 parent e96f1a9 commit afb0b20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/misc/BoundaryValueProblem/BVPMemory.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace uammd{
};

namespace detail{
size_t computeExtraAlignment(size_t addressOffset, size_t alignment){
inline size_t computeExtraAlignment(size_t addressOffset, size_t alignment){
size_t extraAlignment = 0;
bool isMissAligned = addressOffset%alignment != 0;
if(isMissAligned)
Expand Down Expand Up @@ -120,4 +120,4 @@ namespace uammd{

}
}
#endif
#endif

0 comments on commit afb0b20

Please sign in to comment.