<commit_before>#include <stan/math/prim/core.hpp>
#include <gtest/gtest.h>


TEST(intel_tbb_new_init, set_threads) {
  int num_threads = std::thread::hardware_concurrency() - 1;
  auto& tbb_init = stan::math::init_threadpool_tbb(num_threads);
  EXPECT_TRUE(tbb_init.is_active());

  EXPECT_EQ(num_threads, tbb_init.max_concurrency());
}<commit_msg>fix tbb init thread test<commit_after>#include <stan/math/prim/core.hpp>
#include <gtest/gtest.h>


TEST(intel_tbb_new_init, set_threads) {
  int num_threads = std::thread::hardware_concurrency();
  auto& tbb_init = stan::math::init_threadpool_tbb(num_threads);
  EXPECT_TRUE(tbb_init.is_active());

  EXPECT_EQ(num_threads, tbb_init.max_concurrency());
}
{'fraction_non_alphanumeric': 0.14366998577524892, 'fraction_numerical': 0.001422475106685633, 'mean_word_length': 7.585365853658536, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '819830', 'n_tokens_mistral': 274, 'n_tokens_neox': 273, 'n_words': 35}