fix axpy warning
parent
5e3db76500
commit
1af040b9d1
|
@ -110,7 +110,6 @@ double dot(const Errors& a, const Errors& b) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
template<>
|
|
||||||
void axpy(double alpha, const Errors& x, Errors& y) {
|
void axpy(double alpha, const Errors& x, Errors& y) {
|
||||||
Errors::const_iterator it = x.begin();
|
Errors::const_iterator it = x.begin();
|
||||||
for(Vector& yi: y)
|
for(Vector& yi: y)
|
||||||
|
|
|
@ -65,7 +65,6 @@ namespace gtsam {
|
||||||
/**
|
/**
|
||||||
* BLAS level 2 style
|
* BLAS level 2 style
|
||||||
*/
|
*/
|
||||||
template <>
|
|
||||||
GTSAM_EXPORT void axpy(double alpha, const Errors& x, Errors& y);
|
GTSAM_EXPORT void axpy(double alpha, const Errors& x, Errors& y);
|
||||||
|
|
||||||
/** print with optional string */
|
/** print with optional string */
|
||||||
|
|
Loading…
Reference in New Issue