Changeset 088d3f2 in tol


Ignore:
Timestamp:
Nov 4, 2008, 4:58:44 PM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
8dc9b60
Parents:
4bf2386
Message:

Fixed bug in sql traced insert
Checking existence of out::_.sigma

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/stat/models/bayesian/bysMcmc/bsr/dynhlm/_db_api.tools.modses.obs.tol

    r4bf2386 r088d3f2  
    3030  SqlFormatDate(start)+","+
    3131  SqlFormatDate(end)+","+
    32   SqlFormatReal(sigma)+")");
     32  SqlFormatReal(sigma));
    3333  Eval("ModSes.Obs.Output.Create.ok=ok")
    3434};
    … …  
    182182  Real outIsATimeSerie = ObjectExist("Serie",  "out::_.serie");
    183183  Real outIsAVector    = ObjectExist("Matrix", "out::_.vector");
    184 
     184  Real sigma = If(ObjectExist("Real","out::_.sigma"),out::_.sigma,?);
    185185  Real ok.2 = Case(
    186186  outIsATimeSerie,
    … …  
    196196      out::_.firstDate,
    197197      out::_.lastDate,
    198       out::_.sigma
     198      sigma
    199199    )
    200200  },
    … …  
    210210      out::_.mis_pri_max,
    211211      UnknownDate,
    212       UnknownDate
     212      UnknownDate,
     213      sigma
    213214    )
    214215  },
Note: See TracChangeset for help on using the changeset viewer.