Changeset 954
- Timestamp:
- 03/30/06 17:27:42 (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/selector.py
r952 r954 37 37 38 38 """ 39 vec = _to_list(pols, str) and_to_list(pols, int)39 vec = _to_list(pols, str) or _to_list(pols, int) 40 40 if vec: # is an empty and/or valid vector 41 41 if len(vec) and isinstance(vec[-1],str): 42 self._setpolstrings( self,vec)42 self._setpolstrings(vec) 43 43 return 44 44 self._setpols(vec) -
trunk/src/STSelector.cpp
r939 r954 44 44 this->stringselections_ = other.stringselections_; 45 45 this->taql_ = other.taql_; 46 this->poltypes_ = other.poltypes_; 47 this->order_ = other.order_; 46 48 } 47 49 return *this; … … 70 72 { 71 73 setint("POLNO", pols); 74 poltypes_ = std::vector<std::string>(); 72 75 } 73 76
Note:
See TracChangeset
for help on using the changeset viewer.