Issue #23, thanks steveire

This commit is contained in:
Emil Dotchevski 2020-02-29 13:02:49 -08:00
parent 1dd8654c24
commit ffb434f1fa
7 changed files with 24 additions and 24 deletions

View File

@ -574,7 +574,7 @@ namespace
TAB2 "namespace" NL
TAB2 "qvm_detail" NL
TAB3 "{" NL
TAB3 "template <int R,int CR,int C>" NL
TAB3 "template <int R,int /*CR*/,int C>" NL
TAB3 "struct "<<name<<";" NL
NL
TAB3 "template <>" NL
@ -1728,8 +1728,8 @@ namespace
public:
int const argc;
next( int argc, char const * argv[] ):
argc(argc),
argv(argv)
argv(argv),
argc(argc)
{
}
std::string

View File

@ -3,8 +3,8 @@
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_2923BE84E16CD6AE529049F1F1BBE9EB
#define BOOST_QVM_2923BE84E16CD6AE529049F1F1BBE9EB
#ifndef BOOST_QVM_A7F1D92A82C8D8FE434D98558CE2B347
#define BOOST_QVM_A7F1D92A82C8D8FE434D98558CE2B347
//This file was generated by a program. Do not edit manually.
@ -1568,7 +1568,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>
@ -1658,7 +1658,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>
@ -1703,7 +1703,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>

View File

@ -3,8 +3,8 @@
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_B3A6DB3C87C3E99245ED1C6B747DE
#define BOOST_QVM_B3A6DB3C87C3E99245ED1C6B747DE
#ifndef BOOST_QVM_171198542F112D558F56BD68879992
#define BOOST_QVM_171198542F112D558F56BD68879992
//This file was generated by a program. Do not edit manually.
@ -1734,7 +1734,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>
@ -1846,7 +1846,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>
@ -1898,7 +1898,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>

View File

@ -3,8 +3,8 @@
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_B3124DC843BB8BA61F35A7D938251F
#define BOOST_QVM_B3124DC843BB8BA61F35A7D938251F
#ifndef BOOST_QVM_48336241F3D23E55F30D1C8ED61C4B
#define BOOST_QVM_48336241F3D23E55F30D1C8ED61C4B
//This file was generated by a program. Do not edit manually.
@ -1909,7 +1909,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>
@ -2051,7 +2051,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>
@ -2112,7 +2112,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct mul_mm_defined;
template <>

View File

@ -697,7 +697,7 @@ boost
namespace
qvm_detail
{
template <int R,int CR,int C>
template <int R,int /*CR*/,int C>
struct
mul_mm_defined
{

View File

@ -17,9 +17,9 @@ boost
namespace
qvm
{
template <class T,int R,int CR,int C>
template <class T,int R,int Q,int C>
struct
mat_traits<T[R][CR][C]>
mat_traits<T[R][Q][C]>
{
static int const rows=0;
static int const cols=0;

View File

@ -10,13 +10,13 @@
namespace
{
template <int R,int CR,int C>
template <int R,int Q,int C>
void
test()
{
using namespace boost::qvm::sfinae;
test_qvm::matrix<M1,R,CR> const x(42,1);
test_qvm::matrix<M2,CR,C> const y(42,1);
test_qvm::matrix<M1,R,Q> const x(42,1);
test_qvm::matrix<M2,Q,C> const y(42,1);
{
test_qvm::matrix<M3,R,C> r=x*y;
test_qvm::multiply_m(r.b,x.b,y.b);