Commit 53e1f5e2 by Francois Gygi

Fix initialization of ndofs_ in ctor


git-svn-id: http://qboxcode.org/svn/qb/trunk@760 cba15fb0-1239-40c8-b417-11db7ca47a34
parent c8d66f63
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
// ConstraintSet.h // 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 #ifndef CONSTRAINTSET_H
#define CONSTRAINTSET_H #define CONSTRAINTSET_H
...@@ -39,7 +39,7 @@ class ConstraintSet ...@@ -39,7 +39,7 @@ class ConstraintSet
public: public:
ConstraintSet(const Context& ctxt) : ctxt_(ctxt) {} ConstraintSet(const Context& ctxt) : ctxt_(ctxt), ndofs_(0) {}
~ConstraintSet(); ~ConstraintSet();
bool define_constraint(AtomSet &atoms, int argc, char **argv); bool define_constraint(AtomSet &atoms, int argc, char **argv);
bool set_constraint(int argc, char **argv); bool set_constraint(int argc, char **argv);
......
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