<commit_before>#ifndef STAN__ERROR_HANDLING__SCALAR__CHECK_POSITIVE_SIZE_HPP
#define STAN__ERROR_HANDLING__SCALAR__CHECK_POSITIVE_SIZE_HPP

#include <sstream>
#include <stan/error_handling/invalid_argument.hpp>

namespace stan {
  namespace math {

    /**
     * Return <code>true</code> if <code>size</code> is positive.
     *
     * @param function Function name (for error messages)
     * @param name Variable name (for error messages)
     * @param expr Expression for the dimension size (for error messages)
     * @param val Size value to check
     *
     * @return <code>true</code> if <code>val</code> is greater than 0.
     * @throw <code>std::invalid_argument</code> if <code>val</code> is<commit_msg>fixing doxygen warning<commit_after>#ifndef STAN__ERROR_HANDLING__SCALAR__CHECK_POSITIVE_SIZE_HPP
#define STAN__ERROR_HANDLING__SCALAR__CHECK_POSITIVE_SIZE_HPP

#include <sstream>
#include <stan/error_handling/invalid_argument.hpp>

namespace stan {
  namespace math {

    /**
     * Return <code>true</code> if <code>size</code> is positive.
     *
     * @param function Function name (for error messages)
     * @param name Variable name (for error messages)
     * @param expr Expression for the dimension size (for error messages)
     * @param size Size value to check
     *
     * @return <code>true</code> if <code>size</code> is greater than 0.
     * @throw <code>std::invalid_argument</code> if <code>size</code> is
{'fraction_non_alphanumeric': 0.10249307479224377, 'fraction_numerical': 0.0013850415512465374, 'mean_word_length': 4.17921146953405, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '7483443', 'n_tokens_mistral': 465, 'n_tokens_neox': 454, 'n_words': 123}