I have a problem for calling the method of library "gum" in my program:
gum::BayesNet<double> *myBayNet=new gum::BayesNet<double>;
gum::DiscrereVariable* DV=new gum::DiscretizedVariable<double>;
int main()
{
  // error: invalid declaration
  // of 'gum::BayesNet<duoble>::add' & //forbids declaration of 'DV' 
  unsigned int gum::BayesNet<duoble>::add(const (*DV) str) 
  {
    return (*myBayNet).add(str);
  }
}
(See error message in comment.)
 
     
    