Changeset 882
- Timestamp:
- 03/29/10 23:01:09 (15 years ago)
- Location:
- library/bdm/base/itpp/base
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/itpp/base/specmat.cpp
r813 r882 40 40 ivec find(const bvec &invector) 41 41 { 42 it_assert(invector.size() > 0, "find(): vector cannot be empty");42 //it_assert(invector.size() > 0, "find(): vector cannot be empty"); 43 43 ivec temp(invector.size()); 44 44 int pos = 0; -
library/bdm/base/itpp/base/vec.h
r813 r882 1610 1610 bvec Vec<Num_T>::operator==(Num_T t) const 1611 1611 { 1612 it_assert_debug(datasize > 0, "Vec<>::operator==(): Wrong size");1612 //it_assert_debug(datasize > 0, "Vec<>::operator==(): Wrong size"); 1613 1613 bvec temp(datasize); 1614 1614 for (int i = 0; i < datasize; i++) … … 1620 1620 bvec Vec<Num_T>::operator!=(Num_T t) const 1621 1621 { 1622 it_assert_debug(datasize > 0, "Vec<>::operator!=(): Wrong size");1622 //it_assert_debug(datasize > 0, "Vec<>::operator!=(): Wrong size"); 1623 1623 bvec temp(datasize); 1624 1624 for (int i = 0; i < datasize; i++) … … 1635 1635 bvec Vec<Num_T>::operator<(Num_T t) const 1636 1636 { 1637 it_assert_debug(datasize > 0, "Vec<>::operator<(): Wrong size");1637 //it_assert_debug(datasize > 0, "Vec<>::operator<(): Wrong size"); 1638 1638 bvec temp(datasize); 1639 1639 for (int i = 0; i < datasize; i++) … … 1650 1650 bvec Vec<Num_T>::operator<=(Num_T t) const 1651 1651 { 1652 it_assert_debug(datasize > 0, "Vec<>::operator<=(): Wrong size");1652 //it_assert_debug(datasize > 0, "Vec<>::operator<=(): Wrong size"); 1653 1653 bvec temp(datasize); 1654 1654 for (int i = 0; i < datasize; i++) … … 1665 1665 bvec Vec<Num_T>::operator>(Num_T t) const 1666 1666 { 1667 it_assert_debug(datasize > 0, "Vec<>::operator>(): Wrong size");1667 //it_assert_debug(datasize > 0, "Vec<>::operator>(): Wrong size"); 1668 1668 bvec temp(datasize); 1669 1669 for (int i = 0; i < datasize; i++) … … 1680 1680 bvec Vec<Num_T>::operator>=(Num_T t) const 1681 1681 { 1682 it_assert_debug(datasize > 0, "Vec<>::operator>=(): Wrong size");1682 // it_assert_debug(datasize > 0, "Vec<>::operator>=(): Wrong size"); 1683 1683 bvec temp(datasize); 1684 1684 for (int i = 0; i < datasize; i++)