progressing on contfrac

This commit is contained in:
2022-02-18 20:55:37 +01:00
parent 0e8c20770f
commit e67e6a5797
5 changed files with 145 additions and 4 deletions

3
vec.cc
View File

@@ -899,9 +899,8 @@ return -1;
template<typename T>
NRVec<T>::NRVec(const std::list<T> l)
NRVec<T>::NRVec(const std::list<T> l) : NRVec<T>(l.size())
{
resize(l.size());
int ii=0;
for(typename std::list<T>::const_iterator i=l.begin(); i!=l.end(); ++i) (*this)[ii++] = *i;
}