<commit_before>//
// throw_error.hpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2014 <NAME> (<EMAIL> at gmail dot com)
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
//

#ifndef EIGENJS_THROW_ERROR_HPP
#define EIGENJS_THROW_ERROR_HPP

#include <nan.h>

#define EIGENJS_THROW_ERROR_INVALID_ARGUMENT()                               \
  NanThrowError("Invalid argument");                                         \
  /**/

#define EIGENJS_THROW_ERROR_INVALID_ROWS_AND_COLUMNS_ARGUMENTS()             \
  NanThrowError("Invalid rows or columns arguments");                        \
  /**/

#define EIGENJS_THROW_ERROR_INVALID_INDEX_ARGUMENT()                         \
  NanThrowError("Invalid index argument");                                   \
  /**/

#endif  // EIGENJS_THROW_ERROR_HPP
<commit_msg>src: add the error message 'EIGENJS_THROW_ERROR_THE_MATRIX_SIZE_MUST_BE_1XN_OR_MX1'<commit_after>//
// throw_error.hpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2014 <NAME> (rick68 at gmail dot com)
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
//

#ifndef EIGENJS_THROW_ERROR_HPP
#define EIGENJS_THROW_ERROR_HPP

#include <nan.h>

#define EIGENJS_THROW_ERROR_INVALID_ARGUMENT()                               \
  NanThrowError("Invalid argument");                                         \
  /**/

#define EIGENJS_THROW_ERROR_INVALID_ROWS_AND_COLUMNS_ARGUMENTS()             \
  NanThrowError("Invalid rows or columns arguments");                        \
  /**/

#define EIGENJS_THROW_ERROR_INVALID_INDEX_ARGUMENT()                         \
  NanThrowError("Invalid index argument");                                   \
  /**/

#define EIGENJS_THROW_ERROR_THE_MATRIX_SIZE_MUST_BE_1XN_OR_MX1()             \
  NanThrowError("The matrix size must be 1xN or Mx1");                       \
  /**/

#endif  // EIGENJS_THROW_ERROR_HPP

{'fraction_non_alphanumeric': 0.1109031352363126, 'fraction_numerical': 0.011230697239120261, 'mean_word_length': 2.0630372492836675, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5174881', 'n_tokens_mistral': 714, 'n_tokens_neox': 645, 'n_words': 153}