<commit_before>#ifndef MJOLNIR_GLOBAL_POTENTIAL_BASE
#define MJOLNIR_GLOBAL_POTENTIAL_BASE
#include "ParticleContainer.hpp"

namespace mjolnir
{

template<typename traitsT>
class GlobalPotentialBase
{
  public:
    typedef traitsT traits_type;
    typedef typename traits_type::real_type real_type;

    virtual ~GlobalPotentialBase(){};

    real_type
    potential(const std::size_t i, const std::size_t j, const real_type r) = 0;
    real_type
    derivative(const std::size_t i, const std::size_t j, const real_type r) = 0;

};


} // mjolnir
#endif /* MJOLNIR_GLOBAL_POTENTIAL_BASE */
<commit_msg>add forgotten virtual to GlobalPotentialBase<commit_after>#ifndef MJOLNIR_GLOBAL_POTENTIAL_BASE
#define MJOLNIR_GLOBAL_POTENTIAL_BASE
#include "ParticleContainer.hpp"

namespace mjolnir
{

template<typename traitsT>
class GlobalPotentialBase
{
  public:
    typedef traitsT traits_type;
    typedef typename traits_type::real_type real_type;

    virtual ~GlobalPotentialBase(){};

    virtual real_type
    potential(const std::size_t i, const std::size_t j, const real_type r) = 0;
    virtual real_type
    derivative(const std::size_t i, const std::size_t j, const real_type r) = 0;

};


} // mjolnir
#endif /* MJOLNIR_GLOBAL_POTENTIAL_BASE */

{'fraction_non_alphanumeric': 0.08633093525179857, 'fraction_numerical': 0.0031974420463629096, 'mean_word_length': 5.167487684729064, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5919901', 'n_tokens_mistral': 451, 'n_tokens_neox': 437, 'n_words': 100}