Diff of /src/modules/glm/samplers/BinaryFactory.cc [01a998] .. [081fbe]  Maximize  Restore

Switch to unified view

a/src/modules/glm/samplers/BinaryFactory.cc b/src/modules/glm/samplers/BinaryFactory.cc
...
...
26
    string linkname;
26
    string linkname;
27
    if (lnode) {
27
    if (lnode) {
28
        linkname = lnode->linkName();
28
        linkname = lnode->linkName();
29
    }
29
    }
30
30
31
  switch(GLMMethod::getFamily(snode)) {
31
  GLMFamily family = GLMMethod::getFamily(snode);
32
33
  switch(family) {
32
    case GLM_BERNOULLI:
34
    case GLM_BERNOULLI:
33
        return linkname == "probit" || linkname=="logit";
35
        return linkname == "probit" || linkname=="logit";
34
    case GLM_BINOMIAL:
36
    case GLM_BINOMIAL:
35
        N = snode->parents()[1];
37
        N = snode->parents()[1];
36
        if (N->length() != 1)
38
        if (N->length() != 1)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks