Commit 04f8d803 authored by Davis King's avatar Davis King

Increased the default number of power iterations done by svd_fast()

from 0 to 1.
parent 9f9a720a
......@@ -889,7 +889,7 @@ convergence:
matrix<T,0,1>& w,
matrix<T>& v,
unsigned long l,
unsigned long q = 0
unsigned long q = 1
)
{
const unsigned long k = std::min(l, std::min<unsigned long>(A.nr(),A.nc()));
......@@ -1008,7 +1008,7 @@ convergence:
matrix<T,0,1>& w,
matrix<T>& v,
unsigned long l,
unsigned long q = 0
unsigned long q = 1
)
{
const long n = max_index_plus_one(A);
......
......@@ -144,7 +144,7 @@ namespace dlib
matrix<T,0,1>& w,
matrix<T>& v,
unsigned long l,
unsigned long q = 0
unsigned long q = 1
);
/*!
requires
......@@ -194,7 +194,7 @@ namespace dlib
matrix<T,0,1>& w,
matrix<T>& v,
unsigned long l,
unsigned long q = 0
unsigned long q = 1
);
/*!
requires
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment