Changeset 2763


Ignore:
Timestamp:
Jul 9, 2012, 4:12:48 AM (10 years ago)
Author:
Peter
Message:

avoid race with static variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/DNA.cc

    r2742 r2763  
    6767    if (!char2code_.empty())
    6868      return;
    69 
     69    char2code_.resize(128,255);
    7070    code2char_ = " ACMGRSVTWYHKDBN";
    7171
    72     char2code_.resize(128,255);
    7372    for (unsigned short i=0; i<code2char_.size(); ++i)
    7473      char2code_[static_cast<size_t>(code2char_[i])] = i;
Note: See TracChangeset for help on using the changeset viewer.