Changeset 1114 for to-imperative/trunk/library/Vector/subvector.cc
- Timestamp:
- Aug 6, 2003, 8:16:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
to-imperative/trunk/library/Vector/subvector.cc
r1045 r1114 20 20 RF_LIB_ERROR("Invalid argument"); 21 21 Term* t = _index.get_first(); 22 rftype:: ShortInt* p = t->cast_to<rftype::ShortInt>(type_short_int);22 rftype::Int32* p = t->cast_to<rftype::Int32>(type_int32); 23 23 if (!p) 24 24 RF_LIB_ERROR("Invalid argument"); 25 25 size_t ind = p->to_int(); 26 26 t = _length.get_first(); 27 p = t->cast_to<rftype:: ShortInt>(type_short_int);27 p = t->cast_to<rftype::Int32>(type_int32); 28 28 if (!p) 29 29 RF_LIB_ERROR("Invalid argument");
Note: See TracChangeset
for help on using the changeset viewer.