Skip to content

Commit

Permalink
Fix uninitialized scalar fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
joudinet committed Oct 31, 2013
1 parent d06f744 commit 166d1f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/rukia/draw.hxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) Univ. Paris-SUD, Johan Oudinet <[email protected]> - 2010
// Copyright (C) Univ. Paris-SUD, Johan Oudinet <[email protected]> - 2010, 2013
//
// This file is part of Rukia.
//
Expand Down Expand Up @@ -207,6 +207,10 @@ namespace rukia {
: aut_(aut), ralgo_(ralgo)
{
stack_.push (std::make_pair (0, L0));
nb_calculation_ = 0;
max_stack_size_ = 0;
nb_calculation_ = 0;
mem_size_ = 0;
}

// TODO: vertex_descriptor s should be an argument.
Expand Down

0 comments on commit 166d1f1

Please sign in to comment.