diff options
Diffstat (limited to 'include/ceres/crs_matrix.h')
-rw-r--r-- | include/ceres/crs_matrix.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ceres/crs_matrix.h b/include/ceres/crs_matrix.h index 8c470cd..d2d6289 100644 --- a/include/ceres/crs_matrix.h +++ b/include/ceres/crs_matrix.h @@ -33,12 +33,13 @@ #include <vector> #include "ceres/internal/port.h" +#include "ceres/internal/disable_warnings.h" namespace ceres { // A compressed row sparse matrix used primarily for communicating the // Jacobian matrix to the user. -struct CRSMatrix { +struct CERES_EXPORT CRSMatrix { CRSMatrix() : num_rows(0), num_cols(0) {} int num_rows; @@ -80,4 +81,6 @@ struct CRSMatrix { } // namespace ceres +#include "ceres/internal/reenable_warnings.h" + #endif // CERES_PUBLIC_CRS_MATRIX_H_ |