Skip to content

Commit

Permalink
Actually warn about the header and fix includes in teqp
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Jan 6, 2025
1 parent ac3bf99 commit 1f934fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/teqp/models/cubics.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma warning "The teqp/models/cubics.hpp header is deprecated. Use the teqp/models/cubics/simple_cubics.hpp for most cubic models, or teqp/models/cubics/advancedmixing_cubics.hpp for the advanced mixing rules"
#warning "The teqp/models/cubics.hpp header is deprecated. Use the teqp/models/cubics/simple_cubics.hpp for most cubic models, or teqp/models/cubics/advancedmixing_cubics.hpp for the advanced mixing rules"

#include "teqp/models/cubics/simple_cubics.hpp"
#include "teqp/models/cubics/advancedmixing_cubics.hpp"
2 changes: 1 addition & 1 deletion include/teqp/models/cubicsuperancillary.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma warning "The teqp/models/cubicsuperancillary.hpp header is deprecated. Use the teqp/cubics/cubicsuperancillary.hpp"
#warning "The teqp/models/cubicsuperancillary.hpp header is deprecated. Use the teqp/cubics/cubicsuperancillary.hpp"

#include "teqp/models/cubics/cubicsuperancillary.hpp"
2 changes: 1 addition & 1 deletion include/teqp/models/multifluid_eosterms.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "teqp/types.hpp"
#include "teqp/exceptions.hpp"
#include "teqp/models/cubics.hpp"
#include "teqp/models/cubics/simple_cubics.hpp"
#include "teqp/models/saft/pcsaftpure.hpp"

namespace teqp {
Expand Down
2 changes: 1 addition & 1 deletion src/tests/catch_tests.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class testRunListener : public Catch::EventListenerBase {
};
CATCH_REGISTER_LISTENER(testRunListener)

#include "teqp/models/cubicsuperancillary.hpp"
#include "teqp/models/cubics/cubicsuperancillary.hpp"
#include "teqp/models/CPA.hpp"
#include "teqp/models/vdW.hpp"

Expand Down

0 comments on commit 1f934fc

Please sign in to comment.