Changeset de5a7dd in tol
- Timestamp:
- Oct 26, 2008, 10:31:06 AM (18 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 8958dab
- Parents:
- 82ef353
- File:
-
- 1 edited
-
tol/btol/vmatrix_type/vmat_bsr.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/vmatrix_type/vmat_bsr.cpp
r82ef353 rde5a7dd 864 864 865 865 vector<noise_info>* assign_noise_to_term::noise_vec_ = NULL; 866 symbols<int>* assign_noise_to_term::noise_table_ = NULL;867 lin_reg_equation* assign_noise_to_term::equ_= NULL;868 vector<sigma_info>* assign_noise_to_term::sig_vec_= NULL;866 symbols<int>* assign_noise_to_term::noise_table_ = NULL; 867 lin_reg_equation* assign_noise_to_term::equ_ = NULL; 868 vector<sigma_info>* assign_noise_to_term::sig_vec_ = NULL; 869 869 870 870 /////////////////////////////////////////////////////////////////////////////// … … 1106 1106 int numEqu_; 1107 1107 1108 bool endFound_; 1108 1109 1109 1110 bys_sparse_reg() 1110 1111 : Xnzmax_ (0), 1111 1112 Anzmax_ (0), 1112 numEqu_ (0) 1113 numEqu_ (0), 1114 endFound_ (false) 1113 1115 { 1114 1116 var.count = 0; … … 1150 1152 model_nameDef, model_descriptionDef, 1151 1153 session_nameDef, session_descriptionDef, session_authorDef, 1152 problem;1154 explicit_begin, explicit_end, problem; 1153 1155 1154 1156 definition(const bys_sparse_reg& s_) … … 1700 1702 error_SessionAuthorDefExpected 1701 1703 ; 1702 1704 explicit_begin = str_p("$BEGIN"); 1705 explicit_end = str_p("$END")[assign_a(s.endFound_,true)]; 1703 1706 problem = 1707 (explicit_begin | eps_p) >> 1704 1708 //header 1705 1709 ( … … 1718 1722 inequation ) >> 1719 1723 //end 1720 (e nd_p | error_declarationExpected )1724 (explicit_end | end_p | error_declarationExpected ) 1721 1725 ; 1722 1726 //BOOST_SPIRIT_DEBUG_NODE(argumentSeparator ); … … 2100 2104 Std(BSR()+"Parsing BSR file "+fName+" with "+(int)bsr.fileSize+" bytes\n"); 2101 2105 parse_info<iterator_t> result = parse(begin, end, bsr, skip); 2102 if(!result.full )2106 if(!result.full && !bsr.endFound_) 2103 2107 { 2104 2108 BText msg = BSR() + BText(fName) + " Fails Parsing\n"+url_parse_bsr();
Note: See TracChangeset
for help on using the changeset viewer.
