The environment is Ubuntu 16.04.
I have folly and thrift installed.
[ 10%] Built target gtest
[ 15%] Building CXX object CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_types.cpp.o
[ 20%] Building CXX object CMakeFiles/thpp.dir/TensorSerialization.cpp.o
[ 25%] Building CXX object CMakeFiles/thpp.dir/detail/TensorDefs.cpp.o
Scanning dependencies of target gtest_main
[ 30%] Building CXX object googletest-release-1.7.0/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
In file included from /usr/local/include/thrift/lib/cpp2/GeneratedCodeHelper.h:20:0,
from /home/tumh/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.tcc:15,
from /home/tumh/thpp/thpp/build/thpp/if/gen-cpp2/Tensor_types.cpp:9:
/usr/local/include/thrift/lib/cpp2/FrozenTApplicationException.h:19:43: fatal error: thrift/lib/cpp2/frozen/Frozen.h: 沒有此一檔案或目錄
compilation terminated.
CMakeFiles/thpp.dir/build.make:228: recipe for target 'CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_types.cpp.o' failed
make[2]: *** [CMakeFiles/thpp.dir/thpp/if/gen-cpp2/Tensor_types.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 35%] Linking CXX static library libgtest_main.a
[ 35%] Built target gtest_main
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THFloatTensor_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_min(THFloatTensor*, THLongTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THFloatTensor_min(THFloatTensor*, THLongTensor*, THFloatTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_sum(THFloatTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THFloatTensor_sum(THFloatTensor*, THFloatTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_prod(THFloatTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THFloatTensor_prod(THFloatTensor*, THFloatTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_max(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THDoubleTensor_max(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_min(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THDoubleTensor_min(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_sum(THDoubleTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THDoubleTensor_sum(THDoubleTensor*, THDoubleTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_prod(THDoubleTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THDoubleTensor_prod(THDoubleTensor*, THDoubleTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_max(THByteTensor*, THLongTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THByteTensor_max(THByteTensor*, THLongTensor*, THByteTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_min(THByteTensor*, THLongTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THByteTensor_min(THByteTensor*, THLongTensor*, THByteTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_sum(THByteTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THByteTensor_sum(THByteTensor*, THByteTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_prod(THByteTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THByteTensor_prod(THByteTensor*, THByteTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_max(THCharTensor*, THLongTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THCharTensor_max(THCharTensor*, THLongTensor*, THCharTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_min(THCharTensor*, THLongTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THCharTensor_min(THCharTensor*, THLongTensor*, THCharTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_sum(THCharTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THCharTensor_sum(THCharTensor*, THCharTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_prod(THCharTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THCharTensor_prod(THCharTensor*, THCharTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_max(THShortTensor*, THLongTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THShortTensor_max(THShortTensor*, THLongTensor*, THShortTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_min(THShortTensor*, THLongTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THShortTensor_min(THShortTensor*, THLongTensor*, THShortTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_sum(THShortTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THShortTensor_sum(THShortTensor*, THShortTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_prod(THShortTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THShortTensor_prod(THShortTensor*, THShortTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_max(THIntTensor*, THLongTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THIntTensor_max(THIntTensor*, THLongTensor*, THIntTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_min(THIntTensor*, THLongTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THIntTensor_min(THIntTensor*, THLongTensor*, THIntTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_sum(THIntTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THIntTensor_sum(THIntTensor*, THIntTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_prod(THIntTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THIntTensor_prod(THIntTensor*, THIntTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_max(THLongTensor*, THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THLongTensor_max(THLongTensor*, THLongTensor*, THLongTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_min(THLongTensor*, THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THLongTensor_min(THLongTensor*, THLongTensor*, THLongTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_sum(THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THLongTensor_sum(THLongTensor*, THLongTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_prod(THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THLongTensor_prod(THLongTensor*, THLongTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/TH.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:14,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/detail/TensorDefs.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
CMakeFiles/thpp.dir/build.make:180: recipe for target 'CMakeFiles/thpp.dir/detail/TensorDefs.cpp.o' failed
make[2]: *** [CMakeFiles/thpp.dir/detail/TensorDefs.cpp.o] Error 1
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THFloatTensor_max(THFloatTensor*, THLongTensor*, THFloatTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_min(THFloatTensor*, THLongTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THFloatTensor_min(THFloatTensor*, THLongTensor*, THFloatTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_sum(THFloatTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THFloatTensor_sum(THFloatTensor*, THFloatTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<float> >::_prod(THFloatTensor*, THFloatTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THFloatTensor_prod(THFloatTensor*, THFloatTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_max(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THDoubleTensor_max(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_min(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THDoubleTensor_min(THDoubleTensor*, THLongTensor*, THDoubleTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_sum(THDoubleTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THDoubleTensor_sum(THDoubleTensor*, THDoubleTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<double> >::_prod(THDoubleTensor*, THDoubleTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THDoubleTensor_prod(THDoubleTensor*, THDoubleTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateFloatTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:10,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_max(THByteTensor*, THLongTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THByteTensor_max(THByteTensor*, THLongTensor*, THByteTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_min(THByteTensor*, THLongTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THByteTensor_min(THByteTensor*, THLongTensor*, THByteTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_sum(THByteTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THByteTensor_sum(THByteTensor*, THByteTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<unsigned char> >::_prod(THByteTensor*, THByteTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THByteTensor_prod(THByteTensor*, THByteTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:10,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_max(THCharTensor*, THLongTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THCharTensor_max(THCharTensor*, THLongTensor*, THCharTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_min(THCharTensor*, THLongTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THCharTensor_min(THCharTensor*, THLongTensor*, THCharTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_sum(THCharTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THCharTensor_sum(THCharTensor*, THCharTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<char> >::_prod(THCharTensor*, THCharTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THCharTensor_prod(THCharTensor*, THCharTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:11,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_max(THShortTensor*, THLongTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THShortTensor_max(THShortTensor*, THLongTensor*, THShortTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_min(THShortTensor*, THLongTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THShortTensor_min(THShortTensor*, THLongTensor*, THShortTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_sum(THShortTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THShortTensor_sum(THShortTensor*, THShortTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<short int> >::_prod(THShortTensor*, THShortTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THShortTensor_prod(THShortTensor*, THShortTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:12,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_max(THIntTensor*, THLongTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THIntTensor_max(THIntTensor*, THLongTensor*, THIntTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_min(THIntTensor*, THLongTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THIntTensor_min(THIntTensor*, THLongTensor*, THIntTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_sum(THIntTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THIntTensor_sum(THIntTensor*, THIntTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<int> >::_prod(THIntTensor*, THIntTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THIntTensor_prod(THIntTensor*, THIntTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:13,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_max(THLongTensor*, THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: too few arguments to function ‘void THLongTensor_max(THLongTensor*, THLongTensor*, THLongTensor*, int, int)’
return THTensor_(max)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:74:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(max)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:191:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(max)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_min(THLongTensor*, THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: too few arguments to function ‘void THLongTensor_min(THLongTensor*, THLongTensor*, THLongTensor*, int, int)’
return THTensor_(min)(values, indices, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:75:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(min)(THTensor *values_, THLongTensor *indices_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:195:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(min)(values, indices, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_sum(THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: too few arguments to function ‘void THLongTensor_sum(THLongTensor*, THLongTensor*, int, int)’
return THTensor_(sum)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:79:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(sum)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:198:36: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(sum)(r, t, dim);
^
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h: In static member function ‘static void thpp::detail::TensorOps<thpp::Tensor<long int> >::_prod(THLongTensor*, THLongTensor*, int)’:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: too few arguments to function ‘void THLongTensor_prod(THLongTensor*, THLongTensor*, int, int)’
return THTensor_(prod)(r, t, dim);
^
In file included from /home/tumh/torch/install/include/TH/THStorage.h:4:0,
from /home/tumh/thpp/thpp/../thpp/detail/Storage.h:14,
from /home/tumh/thpp/thpp/../thpp/Storage.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:14,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/torch/install/include/TH/THTensor.h:8:39: note: declared here
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/THGeneral.h:116:37: note: in definition of macro ‘TH_CONCAT_4_EXPAND’
#define TH_CONCAT_4_EXPAND(x,y,z,w) x ## y ## z ## w
^
/home/tumh/torch/install/include/TH/THTensor.h:8:27: note: in expansion of macro ‘TH_CONCAT_4’
#define THTensor_(NAME) TH_CONCAT_4(TH,Real,Tensor_,NAME)
^
/home/tumh/torch/install/include/TH/generic/THTensorMath.h:80:13: note: in expansion of macro ‘THTensor_’
TH_API void THTensor_(prod)(THTensor *r_, THTensor *t, int dimension, int keepdim);
^
In file included from thpp/detail/TensorGeneric.h:1:0,
from /home/tumh/torch/install/include/TH/THGenerateIntTypes.h:14,
from /home/tumh/torch/install/include/TH/THGenerateAllTypes.h:11,
from /home/tumh/thpp/thpp/../thpp/detail/Tensor.h:30,
from /home/tumh/thpp/thpp/../thpp/Tensor.h:16,
from /home/tumh/thpp/thpp/TensorSerialization.cpp:11:
/home/tumh/thpp/thpp/../thpp/detail/TensorGeneric.h:201:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return THTensor_(prod)(r, t, dim);
^
CMakeFiles/thpp.dir/build.make:156: recipe for target 'CMakeFiles/thpp.dir/TensorSerialization.cpp.o' failed
make[2]: *** [CMakeFiles/thpp.dir/TensorSerialization.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/thpp.dir/all' failed
make[1]: *** [CMakeFiles/thpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2