Fixed warnings
parent
d478767d4d
commit
74f8102d29
|
@ -54,7 +54,7 @@ template<class Factor>
|
|||
void FactorGraph<Factor>::print(const string& s) const {
|
||||
cout << s << endl;
|
||||
printf("size: %d\n", (int) size());
|
||||
for (int i = 0; i < factors_.size(); i++) {
|
||||
for (size_t i = 0; i < factors_.size(); i++) {
|
||||
stringstream ss;
|
||||
ss << "factor " << i << ":";
|
||||
if (factors_[i] != NULL) factors_[i]->print(ss.str());
|
||||
|
|
|
@ -536,6 +536,9 @@ inline void updateAb_manual(Matrix& A, Vector& b, int j, const Vector& a,
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform updates of system matrices
|
||||
*/
|
||||
static void updateAb(Matrix& A, Vector& b, int j, const Vector& a,
|
||||
const Vector& r, double d) {
|
||||
#ifdef GSL
|
||||
|
|
|
@ -210,12 +210,6 @@ void solve(Matrix& A, Matrix& B);
|
|||
*/
|
||||
Matrix inverse(const Matrix& A);
|
||||
|
||||
/**
|
||||
* Perform updates of system matrices
|
||||
*/
|
||||
static void updateAb(Matrix& A, Vector& b, int j, const Vector& a,
|
||||
const Vector& r, double d);
|
||||
|
||||
/**
|
||||
* QR factorization, inefficient, best use imperative householder below
|
||||
* m*n matrix -> m*m Q, m*n R
|
||||
|
|
Loading…
Reference in New Issue