Skip to content

Commit

Permalink
update template parameter for c++ concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
matekelemen authored Jan 31, 2025
1 parent 105c34e commit e36ce6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kratos/utilities/atomic_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ inline void AtomicAdd(TLeftData& target, const TRightData& value)
#pragma omp atomic
target += value;
#elif defined(KRATOS_SMP_CXX11)
AtomicRef<TDataType>{target} += value;
AtomicRef<TLeftData>{target} += value;
#else
target += value;
#endif
Expand Down

0 comments on commit e36ce6c

Please sign in to comment.