Ignore:
Timestamp:
06/06/17 17:58:16 (7 years ago)
Author:
oabramkina
Message:

Two server levels: merging with trunk r1137.
There are bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/node/interpolate_domain.cpp

    r1021 r1158  
    5555    { 
    5656      case mode_attr::read: 
    57         if (this->file.isEmpty()) 
     57        if (this->weight_filename.isEmpty()) 
    5858        { 
    5959          if (!this->write_weight) 
     
    6464        else 
    6565        { 
    66           weightFile = this->file; 
     66          weightFile = this->weight_filename; 
    6767          ifstream f(weightFile.c_str()); 
    6868          if (!f.good()) 
     
    7575        break; 
    7676      case mode_attr::read_or_compute: 
    77         if (!this->file.isEmpty() && !this->write_weight) 
     77        if (!this->weight_filename.isEmpty() && !this->write_weight) 
    7878        { 
    79           weightFile = this->file; 
     79          weightFile = this->weight_filename; 
    8080          ifstream f(weightFile.c_str()); 
    8181          if (!f.good()) 
Note: See TracChangeset for help on using the changeset viewer.