<commit_before>#ifndef DUNE_STUFF_COMMON_MATRIX_HH
#define DUNE_STUFF_COMMON_MATRIX_HH

#ifdef HAVE_CMAKE_CONFIG
 #include "cmake_config.h"
#else
 #include "config.h"
#endif // ifdef HAVE_CMAKE_CONFIG

// dune-common
#include <dune/common/densematrix.hh>

#include <dune/common/static_assert.hh>
#include <dune/stuff/common/debug.hh>
#include <dune/stuff/common/math.hh>

#if HAVE_DUNE_ISTL && HAVE_DUNE_FEM
 #include <dune/fem/operator/matrix/spmatrix.hh>
 #include <dune/istl/operators.hh>
 #include <dune/fem/operator/matrix/istlmatrix.hh>
 #include <dune/fem/operator/matrix/preconditionerwrapper.hh>
#endif // if HAVE_DUNE_ISTL && HAVE_DUNE_FEM


namespace Dune {
namespace Stuff {
namespace Common {
<commit_msg>add HAVE_BOOST treatment for istl and autotools<commit_after>#ifndef DUNE_STUFF_COMMON_MATRIX_HH
#define DUNE_STUFF_COMMON_MATRIX_HH

#ifdef HAVE_CMAKE_CONFIG
 #include "cmake_config.h"
#else
 #include "config.h"
#endif // ifdef HAVE_CMAKE_CONFIG

// dune-common
#include <dune/common/densematrix.hh>

#include <dune/common/static_assert.hh>
#include <dune/stuff/common/debug.hh>
#include <dune/stuff/common/math.hh>

#if HAVE_DUNE_ISTL && HAVE_DUNE_FEM
  // for dune-istl
  #if defined(HAVE_BOOST)
    #undef HAVE_BOOST
    #define HAVE_BOOST 1
  #endif
  #include <dune/fem/operator/matrix/spmatrix.hh>
  #include <dune/istl/operators.hh>
  #include <dune/fem/operator/matrix/istlmatrix.hh>
  #include <dune/fem/operator/matrix/preconditionerwrapper.hh>
#endif // if HAVE_DUNE_ISTL && HAVE_DUNE_FEM


namespace Dune {
namespace Stuff {
namespace Common {

{'fraction_non_alphanumeric': 0.11746031746031746, 'fraction_numerical': 0.0006349206349206349, 'mean_word_length': 5.329317269076305, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4794088', 'n_tokens_mistral': 646, 'n_tokens_neox': 633, 'n_words': 104}