Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17020/qlo
Modified Files:
swaptionvolstructure.cpp swaptionvolstructure.hpp
volatilities.cpp volatilities.hpp
Log Message:
replace boost::shared_ptr<QuantLib::Matrix> with QuantLib::Matrix
Index: volatilities.cpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/volatilities.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** volatilities.cpp 20 Jun 2006 09:44:18 -0000 1.4
--- volatilities.cpp 20 Jun 2006 15:29:54 -0000 1.5
***************
*** 41,45 ****
const std::vector < QuantLib::Date > &dates,
const std::vector < double > &strikes,
! const boost::shared_ptr<QuantLib::Matrix> &vols,
const QuantLib::DayCounter &dayCounter) {
--- 41,45 ----
const std::vector < QuantLib::Date > &dates,
const std::vector < double > &strikes,
! const QuantLib::Matrix &vols,
const QuantLib::DayCounter &dayCounter) {
***************
*** 49,53 ****
dates,
strikes,
! *vols,
dayCounter));
}
--- 49,53 ----
dates,
strikes,
! vols,
dayCounter));
}
Index: volatilities.hpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/volatilities.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** volatilities.hpp 20 Jun 2006 09:18:11 -0000 1.3
--- volatilities.hpp 20 Jun 2006 15:29:54 -0000 1.4
***************
*** 42,46 ****
const std::vector < QuantLib::Date > &dates,
const std::vector < double > &strikes,
! const boost::shared_ptr<QuantLib::Matrix> &vols,
const QuantLib::DayCounter &dayCounter);
};
--- 42,46 ----
const std::vector < QuantLib::Date > &dates,
const std::vector < double > &strikes,
! const QuantLib::Matrix &vols,
const QuantLib::DayCounter &dayCounter);
};
Index: swaptionvolstructure.cpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/swaptionvolstructure.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** swaptionvolstructure.cpp 20 Jun 2006 09:22:19 -0000 1.2
--- swaptionvolstructure.cpp 20 Jun 2006 15:29:54 -0000 1.3
***************
*** 27,31 ****
const std::vector<QuantLib::Date>& exerciseDates,
const std::vector<QuantLib::Period>& lengths,
! const boost::shared_ptr<QuantLib::Matrix>& volatilities,
const QuantLib::DayCounter& dayCounter)
{
--- 27,31 ----
const std::vector<QuantLib::Date>& exerciseDates,
const std::vector<QuantLib::Period>& lengths,
! const QuantLib::Matrix& volatilities,
const QuantLib::DayCounter& dayCounter)
{
***************
*** 34,38 ****
exerciseDates,
lengths,
! *(volatilities.get()),
dayCounter));
}
--- 34,38 ----
exerciseDates,
lengths,
! volatilities,
dayCounter));
}
Index: swaptionvolstructure.hpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/swaptionvolstructure.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** swaptionvolstructure.hpp 20 Jun 2006 09:22:19 -0000 1.3
--- swaptionvolstructure.hpp 20 Jun 2006 15:29:54 -0000 1.4
***************
*** 34,38 ****
const std::vector<QuantLib::Date>& exerciseDates,
const std::vector<QuantLib::Period>& lengths,
! const boost::shared_ptr<QuantLib::Matrix>& volatilities,
const QuantLib::DayCounter& dayCounter);
};
--- 34,38 ----
const std::vector<QuantLib::Date>& exerciseDates,
const std::vector<QuantLib::Period>& lengths,
! const QuantLib::Matrix& volatilities,
const QuantLib::DayCounter& dayCounter);
};
|