Skip to content

Commit

Permalink
Add the missing <util/Types.h> include to several math header files
Browse files Browse the repository at this point in the history
  • Loading branch information
igl42 committed Aug 24, 2014
1 parent 1403638 commit cc95fcd
Show file tree
Hide file tree
Showing 21 changed files with 48 additions and 3 deletions.
7 changes: 7 additions & 0 deletions blaze/math/dense/Forward.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
#define _BLAZE_MATH_DENSE_FORWARD_H_


//*************************************************************************************************
// Includes
//*************************************************************************************************

#include <blaze/util/Types.h>


namespace blaze {

//=================================================================================================
Expand Down
1 change: 1 addition & 0 deletions blaze/math/expressions/Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

#include <blaze/util/Assert.h>
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsSame.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/expressions/Vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

#include <blaze/util/Assert.h>
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsSame.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/intrinsics/Load.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <blaze/util/constraints/Integral.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/intrinsics/Loadu.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include <blaze/util/constraints/Integral.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/intrinsics/Set.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include <blaze/util/constraints/Integral.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/intrinsics/Store.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <blaze/util/constraints/Integral.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/intrinsics/Storeu.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include <blaze/util/constraints/Integral.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/intrinsics/Stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <blaze/util/constraints/Integral.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/default/Functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

#include <blaze/system/SMP.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>
#include <blaze/util/Unused.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/openmp/DenseMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/mpl/And.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsSame.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/openmp/DenseVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/mpl/And.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsSame.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/openmp/Functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <omp.h>
#include <blaze/system/SMP.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/threads/DenseMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/mpl/And.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsSame.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/threads/DenseVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/mpl/And.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsSame.h>


Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/threads/Functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <blaze/math/smp/threads/ThreadBackend.h>
#include <blaze/system/SMP.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/smp/threads/ThreadBackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#include <blaze/util/constraints/Const.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/ThreadPool.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
1 change: 1 addition & 0 deletions blaze/math/sparse/ValueIndexPair.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <blaze/util/constraints/Volatile.h>
#include <blaze/util/DisableIf.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/Types.h>


namespace blaze {
Expand Down
9 changes: 8 additions & 1 deletion blaze/math/typetraits/Columns.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
#define _BLAZE_MATH_TYPETRAITS_COLUMNS_H_


//*************************************************************************************************
// Includes
//*************************************************************************************************

#include <blaze/util/Types.h>


namespace blaze {

//=================================================================================================
Expand All @@ -57,7 +64,7 @@ namespace blaze {
using blaze::StaticMatrix;
using blaze::HybridMatrix;
using blaze::DynamicMatrix;
blaze::Columns< StaticMatrix<int,3UL,2UL> >::value // Evaluates to 2
blaze::Columns< HybridMatrix<int,3UL,2UL> >::value // Evaluates to 0; Only maximum number of columns is fixed!
blaze::Columns< DynamicMatrix<int> >::value // Evaluates to 0; Number of columns not fixed at compile time!
Expand Down
9 changes: 8 additions & 1 deletion blaze/math/typetraits/Rows.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
#define _BLAZE_MATH_TYPETRAITS_ROWS_H_


//*************************************************************************************************
// Includes
//*************************************************************************************************

#include <blaze/util/Types.h>


namespace blaze {

//=================================================================================================
Expand All @@ -57,7 +64,7 @@ namespace blaze {
using blaze::StaticMatrix;
using blaze::HybridMatrix;
using blaze::DynamicMatrix;
blaze::Rows< StaticMatrix<int,3UL,2UL> >::value // Evaluates to 3
blaze::Rows< HybridMatrix<int,3UL,2UL> >::value // Evaluates to 0; Only maximum number of rows is fixed!
blaze::Rows< DynamicMatrix<int> >::value // Evaluates to 0; Number of rows not fixed at compile time!
Expand Down
9 changes: 8 additions & 1 deletion blaze/math/typetraits/Size.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
#define _BLAZE_MATH_TYPETRAITS_SIZE_H_


//*************************************************************************************************
// Includes
//*************************************************************************************************

#include <blaze/util/Types.h>


namespace blaze {

//=================================================================================================
Expand All @@ -56,7 +63,7 @@ namespace blaze {
using blaze::StaticVector;
using blaze::HybridVector;
using blaze::DynamicVector;
blaze::Size< StaticVector<int,3UL> >::value // Evaluates to 3
blaze::Size< HybridVector<int,3UL> >::value // Evaluates to 0; Only maximum size is fixed!
blaze::Size< DynamicVector<int> >::value // Evaluates to 0; Size not fixed at compile time!
Expand Down

0 comments on commit cc95fcd

Please sign in to comment.