mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Tests work again
This commit is contained in:
@@ -37,8 +37,17 @@ TEST_CASE("Internal consistency checks and example use cases for MatrixMath.h","
|
||||
CoolProp::convert(cHeat, matrix);
|
||||
}
|
||||
}
|
||||
//
|
||||
//int main() {
|
||||
//
|
||||
// std::vector<std::string> tags;
|
||||
// tags.push_back("[MatrixMath]");
|
||||
// run_user_defined_tests(tags);
|
||||
// //run_tests();
|
||||
//}
|
||||
|
||||
#endif /* CATCH_ENABLED */
|
||||
|
||||
#endif /* ENABLE_CATCH */
|
||||
|
||||
|
||||
//#include <unsupported/Eigen/Polynomials>
|
||||
|
||||
@@ -19,13 +19,13 @@ namespace CoolProp{
|
||||
|
||||
/// Constructors for the base class for all Polynomials
|
||||
//Polynomial1D::Polynomial1D();
|
||||
bool Polynomial2D::setCoefficients(const Eigen::MatrixXd &coefficients){
|
||||
this.coefficients = coefficients;
|
||||
return this.coefficients == coefficients;
|
||||
}
|
||||
bool Polynomial2D::setCoefficients(const std::vector< std::vector<double> > &coefficients){
|
||||
return this->setCoefficients(convert(coefficients));
|
||||
}
|
||||
//bool Polynomial2D::setCoefficients(const Eigen::MatrixXd &coefficients){
|
||||
// this.coefficients = coefficients;
|
||||
// return this.coefficients == coefficients;
|
||||
//}
|
||||
//bool Polynomial2D::setCoefficients(const std::vector< std::vector<double> > &coefficients){
|
||||
// return this->setCoefficients(convert(coefficients));
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user