<commit_before>#ifndef AMGCL_EIGEN_OPERATIONS_HPP
#define AMGCL_EIGEN_OPERATIONS_HPP

namespace amg {

template <typename T>
struct value_type {
    typedef typename T::Scalar type;
};

template <typename T1, typename T2>
double inner_prod(const Eigen::MatrixBase<T1> &x, const Eigen::MatrixBase<T2> &y) {
    return x.dot(y);
}

template <typename T>
typename T::Scalar norm(const Eigen::MatrixBase<T> &x) {
    return x.norm();
}

template <typename T>
void clear(Eigen::MatrixBase<T> &x) {
    x.setZero();
}

}


#endif
<commit_msg>Corrected result type for eigen inner_prod<commit_after>#ifndef AMGCL_EIGEN_OPERATIONS_HPP
#define AMGCL_EIGEN_OPERATIONS_HPP

namespace amg {

template <typename T>
struct value_type {
    typedef typename T::Scalar type;
};

template <typename T1, typename T2>
typename T1::Scalar inner_prod(const Eigen::MatrixBase<T1> &x, const Eigen::MatrixBase<T2> &y) {
    return x.dot(y);
}

template <typename T>
typename T::Scalar norm(const Eigen::MatrixBase<T> &x) {
    return x.norm();
}

template <typename T>
void clear(Eigen::MatrixBase<T> &x) {
    x.setZero();
}

}


#endif

{'fraction_non_alphanumeric': 0.12746858168761221, 'fraction_numerical': 0.00807899461400359, 'mean_word_length': 5.371428571428571, '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': '6783719', 'n_tokens_mistral': 426, 'n_tokens_neox': 400, 'n_words': 100}