Skip to content

Commit

Permalink
Merge pull request #69 from parafields/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
dokempf authored Oct 1, 2024
2 parents c2b80a8 + f4aea1c commit 621bb2a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:

# Format C++ code with Clang-Format - automatically applying the changes
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v18.1.8
rev: v19.1.0
hooks:
- id: clang-format
args:
Expand Down
12 changes: 4 additions & 8 deletions include/parafields/fieldtraits.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ class ImageComponent;
template<typename Traits>
class StochasticPart;
template<typename GridTraits,
template<typename>
class IsoMatrix,
template<typename>
class AnisoMatrix>
template<typename> class IsoMatrix,
template<typename> class AnisoMatrix>
class RandomField;

// forward declarations for transposed test
Expand Down Expand Up @@ -54,10 +52,8 @@ const MPI_Datatype mpiType<long double> = MPI_LONG_DOUBLE;
* @tparam AnisoMatrix matrix class used for general covariance functions
*/
template<typename GridTraits,
template<typename>
class IsoMatrix,
template<typename>
class AnisoMatrix>
template<typename> class IsoMatrix,
template<typename> class AnisoMatrix>
class RandomFieldTraits
{
using ThisType = RandomFieldTraits<GridTraits, IsoMatrix, AnisoMatrix>;
Expand Down
8 changes: 5 additions & 3 deletions include/parafields/randomfield.hh
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ public:
if ((*traits).verbose && (*traits).rank == 0)
std::cout << "generate with seed: " << seed << std::endl;

// Instantiate the RNG
// Instantiate the RNG
#if HAVE_GSL
GSLRNGBackend<Traits> rngBackend(this->traits);
#else
Expand Down Expand Up @@ -1412,8 +1412,10 @@ template<typename GridTraits,
DefaultIsoMatrix<GridTraits::dim>::template Type,
template<typename> class AnisoMatrix =
DefaultAnisoMatrix<GridTraits::dim>::template Type,
template<typename, template<typename> class, template<typename> class>
class RandomField = parafields::RandomField>
template<typename,
template<typename> class,
template<typename> class> class RandomField =
parafields::RandomField>
class RandomFieldList
{
public:
Expand Down

0 comments on commit 621bb2a

Please sign in to comment.