Skip to content

Commit

Permalink
fix usage of deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Jul 3, 2024
1 parent 8676b03 commit b911ef8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
6 changes: 2 additions & 4 deletions include/TFEL/Math/Matrix/TMatrixTMatrixExpr.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,9 @@ namespace tfel::math {
template <unsigned short N,
unsigned short M,
unsigned short K,
typename A,
typename B>
MatrixConcept A,
MatrixConcept B>
struct TMatrixTMatrixExpr : public ExprBase {
static_assert(implementsMatrixConcept<A>());
static_assert(implementsMatrixConcept<B>());

using RunTimeProperties = EmptyRunTimeProperties;
using Result = BinaryOperationResult<A, B, OpMult>;
Expand Down
5 changes: 1 addition & 4 deletions include/TFEL/Math/Matrix/TMatrixTVectorExpr.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ namespace tfel::math {
* \tparam A : type of the tiny matrix object (can be a reference)
* \tparam B : type of the tiny vector object (can be a reference)
*/
template <unsigned short N, unsigned short M, typename A, typename B>
template <unsigned short N, unsigned short M, MatrixConcept A, MatrixConcept B>
struct TMatrixTVectorExpr : public ExprBase {
static_assert(implementsMatrixConcept<A>());
static_assert(implementsVectorConcept<B>());

//! a simple alias
typedef EmptyRunTimeProperties RunTimeProperties;
//! \brief return the runtime properties
Expand Down
4 changes: 1 addition & 3 deletions include/TFEL/Math/Matrix/TVectorTMatrixExpr.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@

namespace tfel::math {

template <unsigned short N, unsigned short M, typename A, typename B>
template <unsigned short N, unsigned short M, VectorConcept A, MatrixConcept B>
struct TVectorTMatrixExpr : public ExprBase {
static_assert(implementsVectorConcept<A>());
static_assert(implementsMatrixConcept<B>());

using RunTimeProperties = EmptyRunTimeProperties;
using Result = BinaryOperationResult<A, B, OpMult>;
Expand Down

0 comments on commit b911ef8

Please sign in to comment.