Changeset f9a8fa4a in tol


Ignore:
Timestamp:
Oct 7, 2009, 4:32:39 PM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
7f65812
Parents:
35ff1cf
Message:

Fixes #756

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

Location:
tol/btol/vmatrix_type
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/vmatrix_type/vmat_bsr.cpp

    r35ff1cf rf9a8fa4a  
    185185/////////////////////////////////////////////////////////////////////////////
    186186{
    187   int n = var.vec.size();
    188187  int b = noise.vec.size();
    189   if(!n)
    190   {
    191     Error(BSR()+"At least a linear regression variable must be defined");
    192     return(-3);
    193   }
    194188  if(!b)
    195189  {
  • tol/btol/vmatrix_type/vmat_bsr_primary.cpp

    r35ff1cf rf9a8fa4a  
    448448          noise  >>
    449449          output >>
    450           input >>
     450          (input | eps_p) >>
    451451          *(missing)  >>
    452452          *(inequation)
    … …  
    529529    int m = numEqu_;
    530530    int r = ine_vec.size();
     531    if(!n && !X_.Rows()) { X_.BlasRDense(m,0); }
    531532    Std(BSR()+" Building model definition of primary module\n");
    532533    int result = checkDimensions(m);
Note: See TracChangeset for help on using the changeset viewer.