Skip to content

Commit

Permalink
Correction in the type template of rationalSwitchParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel authored Oct 26, 2023
1 parent ff07d7c commit 515625c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cudaCoord/Coordination.cu
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ twice faster # since it runs on half of the pairs. PRINT ARG=c1,c2 STRIDE=10

// these constant will be used within the kernels
template <typename calculateFloat> struct rationalSwitchParameters {
calculateFloat dmaxSQ = std::numeric_limits<double>::max();
calculateFloat dmaxSQ = std::numeric_limits<calculateFloat>::max();
calculateFloat invr0_2 = 1.0; // r0=1
calculateFloat stretch = 1.0;
calculateFloat shift = 0.0;
Expand Down

0 comments on commit 515625c

Please sign in to comment.