<commit_before>#ifndef DRAKE_MEX_UTIL_H_
#define DRAKE_MEX_UTIL_H_

#include "mex.h"
#include <vector>
#include <Eigen/Core>
#include <Eigen/Sparse>
#include "TrigPoly.h"
#include "unsupported/Eigen/AutoDiff"

/*
 * NOTE: include AutoDiff AFTER TrigPoly.h. 
 * TrigPoly.h includes LLDT.h via Eigenvalues, PolynomialSolver, and our Polynomial.h
 * MSVC versions up to and including 2013 have trouble with the rankUpdate method in LLDT.h
 * For some reason there is a bad interaction with AutoDiff, even though LLDT.h still gets included if TrigPoly.h is included before AutoDiff.
 * See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1057
 */
#include <unsupported/Eigen/AutoDiff>
#include <eigen3/Eigen/src/SparseCore/SparseMatrix.h>
#include "drakeGradientUtil.h"

#undef DLLEXPORT<commit_msg>fix path that was causing build failures on mac<commit_after>#ifndef DRAKE_MEX_UTIL_H_
#define DRAKE_MEX_UTIL_H_

#include "mex.h"
#include <vector>
#include <Eigen/Core>
#include <Eigen/Sparse>
#include "TrigPoly.h"
#include "unsupported/Eigen/AutoDiff"

/*
 * NOTE: include AutoDiff AFTER TrigPoly.h. 
 * TrigPoly.h includes LLDT.h via Eigenvalues, PolynomialSolver, and our Polynomial.h
 * MSVC versions up to and including 2013 have trouble with the rankUpdate method in LLDT.h
 * For some reason there is a bad interaction with AutoDiff, even though LLDT.h still gets included if TrigPoly.h is included before AutoDiff.
 * See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1057
 */
#include <unsupported/Eigen/AutoDiff>
#include <Eigen/src/SparseCore/SparseMatrix.h>
#include "drakeGradientUtil.h"

#undef DLLEXPORT
{'fraction_non_alphanumeric': 0.09733415995040298, 'fraction_numerical': 0.010539367637941723, 'mean_word_length': 5.255813953488372, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '4520982', 'n_tokens_mistral': 597, 'n_tokens_neox': 570, 'n_words': 161}