From 53e1f5e200a98329288aec35e30077daa7b51c87 Mon Sep 17 00:00:00 2001 From: Francois Gygi Date: Sat, 9 Jan 2010 19:35:40 +0000 Subject: [PATCH] Fix initialization of ndofs_ in ctor git-svn-id: http://qboxcode.org/svn/qb/trunk@760 cba15fb0-1239-40c8-b417-11db7ca47a34 --- src/ConstraintSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ConstraintSet.h b/src/ConstraintSet.h index f2a13fc..3625324 100644 --- a/src/ConstraintSet.h +++ b/src/ConstraintSet.h @@ -15,7 +15,7 @@ // ConstraintSet.h // //////////////////////////////////////////////////////////////////////////////// -// $Id: ConstraintSet.h,v 1.8 2009-05-15 04:38:48 fgygi Exp $ +// $Id: ConstraintSet.h,v 1.9 2010-01-09 19:35:40 fgygi Exp $ #ifndef CONSTRAINTSET_H #define CONSTRAINTSET_H @@ -39,7 +39,7 @@ class ConstraintSet public: - ConstraintSet(const Context& ctxt) : ctxt_(ctxt) {} + ConstraintSet(const Context& ctxt) : ctxt_(ctxt), ndofs_(0) {} ~ConstraintSet(); bool define_constraint(AtomSet &atoms, int argc, char **argv); bool set_constraint(int argc, char **argv); -- libgit2 0.26.0