Commit 15f56c8a authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed member initialization in the sparse bundle adjustment code (ticket #385)

parent bffb5f8b
...@@ -48,6 +48,8 @@ LevMarqSparse::LevMarqSparse() ...@@ -48,6 +48,8 @@ LevMarqSparse::LevMarqSparse()
{ {
A = B = W = Vis_index = X = prevP = P = deltaP = err = JtJ_diag = S = hX = NULL; A = B = W = Vis_index = X = prevP = P = deltaP = err = JtJ_diag = S = hX = NULL;
U = ea = V = inv_V_star = eb = Yj = NULL; U = ea = V = inv_V_star = eb = Yj = NULL;
num_points = 0;
num_cams = 0;
} }
LevMarqSparse::~LevMarqSparse() LevMarqSparse::~LevMarqSparse()
......
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