Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv7456/qlo
Modified Files:
clientutils.cpp clientutils.hpp
Log Message:
assorted fixes
Index: clientutils.hpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/clientutils.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** clientutils.hpp 23 May 2006 10:31:10 -0000 1.2
--- clientutils.hpp 23 May 2006 11:56:36 -0000 1.3
***************
*** 42,46 ****
//std::vector < QuantLib::Date > createQLDate(const std::vector < long > &dates);
! //std::vector < long > dateToLongVec(const std::vector < QuantLib::Date > &v);
}
--- 42,46 ----
//std::vector < QuantLib::Date > createQLDate(const std::vector < long > &dates);
! std::vector < long > dateToLongVec(const std::vector < QuantLib::Date > &v);
}
Index: clientutils.cpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/clientutils.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** clientutils.cpp 23 May 2006 10:31:10 -0000 1.2
--- clientutils.cpp 23 May 2006 11:56:36 -0000 1.3
***************
*** 39,49 ****
//}
! //std::vector < long > dateToLongVec(const std::vector < QuantLib::Date > &v) {
! // std::vector < long > ret;
! // for (std::vector < QuantLib::Date >::const_iterator i = v.begin();
! // i != v.end(); i++)
! // ret.push_back(i->serialNumber());
! // return ret;
! //}
}
--- 39,49 ----
//}
! std::vector < long > dateToLongVec(const std::vector < QuantLib::Date > &v) {
! std::vector < long > ret;
! for (std::vector < QuantLib::Date >::const_iterator i = v.begin();
! i != v.end(); i++)
! ret.push_back(i->serialNumber());
! return ret;
! }
}
|