Changeset 251e783 in tol


Ignore:
Timestamp:
Nov 4, 2009, 6:50:00 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
51bd49e
Parents:
6bef16c
Message:

In MasterToJoint DocInfo of master must be used even when there is just one submodule

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1604 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/modularSchema/_monophasic.tol

    r6bef16c r251e783  
    2424  //WriteLn("TRACE MasterToJoint module "+master->ModuleType+" "+Name(master));
    2525    Set subModule = EvalSet(master->SubModule, _childToJoint);
    26     If(Card(subModule)==1,subModule[1],{
     26    If(Card(subModule)==1, {
     27      @BSR.ModelDef(
     28        subModule[1]->ModuleType;
     29        master->DocInfo;
     30        subModule[1]->LinearBlock;
     31        subModule[1]->MissingInputBlock;
     32        subModule[1]->MissingOutputBlock;
     33        subModule[1]->NoiseDistrib;
     34        subModule[1]->Y;
     35        subModule[1]->X;
     36        subModule[1]->a;
     37        subModule[1]->A)
     38    }, {
    2739    Set LinearBlock =
    2840    {
    … …  
    3749      Real SetIndexByName(aux.2);
    3850      aux.2
    39     };
     51    }; 
    4052    Real n = Card(LinearBlock);
    4153
    … …  
    139151      VMatrix X = Convert(Group("ConcatRows",reDim[5]),"Cholmod.R.Sparse");
    140152      VMatrix a = Convert(Group("ConcatRows",reDim[6]),"Cholmod.R.Sparse");
    141       VMatrix A = Convert(Group("ConcatRows",reDim[7]),"Blas.R.Dense")
    142     )
     153      VMatrix A = Convert(Group("ConcatRows",reDim[7]),"Blas.R.Dense"))
    143154  })}
    144155]];
Note: See TracChangeset for help on using the changeset viewer.