2
0
mirror of https://github.com/boostorg/ublas.git synced 2026-02-23 04:02:10 +00:00

FIX use #elif

svn path=/trunk/boost/boost/numeric/ublas/; revision=30075
This commit is contained in:
Michael Stevens
2005-07-14 13:05:27 +00:00
parent 5f0cb8c8f9
commit 80ea5c4fd9

View File

@@ -691,7 +691,7 @@ namespace boost { namespace numeric { namespace ublas {
t += data1 [i1] * data2 [i2];
}
return t;
#elseif defined(BOOST_UBLAS_HAVE_BINDINGS)
#elif defined(BOOST_UBLAS_HAVE_BINDINGS)
return boost::numeric::bindings::atlas::dot (c1 (), c2 ());
#else
return apply (static_cast<const vector_expression<C1> > (c1), static_cast<const vector_expression<C2> > (c2));
@@ -835,7 +835,7 @@ namespace boost { namespace numeric { namespace ublas {
t += data1 [j1] * data2 [j2];
}
return t;
#elseif defined(BOOST_UBLAS_HAVE_BINDINGS)
#elif defined(BOOST_UBLAS_HAVE_BINDINGS)
return boost::numeric::bindings::atlas::dot (c1 ().row (i), c2 ());
#else
return apply (static_cast<const matrix_expression<C1> > (c1), static_cast<const vector_expression<C2> > (c2, i));
@@ -1003,7 +1003,7 @@ namespace boost { namespace numeric { namespace ublas {
t += data1 [j1] * data2 [j2];
}
return t;
#elseif defined(BOOST_UBLAS_HAVE_BINDINGS)
#elif defined(BOOST_UBLAS_HAVE_BINDINGS)
return boost::numeric::bindings::atlas::dot (c1 (), c2 ().column (i));
#else
return apply (static_cast<const vector_expression<C1> > (c1), static_cast<const matrix_expression<C2> > (c2, i));
@@ -1180,7 +1180,7 @@ namespace boost { namespace numeric { namespace ublas {
t += data1 [k1] * data2 [k2];
}
return t;
#elseif defined(BOOST_UBLAS_HAVE_BINDINGS)
#elif defined(BOOST_UBLAS_HAVE_BINDINGS)
return boost::numeric::bindings::atlas::dot (c1 ().row (i), c2 ().column (j));
#else
return apply (static_cast<const matrix_expression<C1> > (c1), static_cast<const matrix_expression<C2> > (c2, i));