Skip to content

Commit fe98714

Browse files
authored
Merge pull request pazzo83#16 from PallHaraldsson/patch-1
Updates Docs (for Julia 1.3.1)
2 parents f4624a4 + 27ccfdc commit fe98714

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/getting_started.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ First, start off by importing QuantLib.jl
88
.. code-block:: julia
99
1010
using QuantLib
11+
using Dates
1112
1213
1314
@@ -45,7 +46,7 @@ First we will set up vectors of the deposit rates and tenors, and bond issue dat
4546
4647
# build depos
4748
depo_rates = [0.0096, 0.0145, 0.0194]
48-
depo_tens = [Base.Dates.Month(3), Base.Dates.Month(6), Base.Dates.Month(12)]
49+
depo_tens = [Dates.Month(3), Dates.Month(6), Dates.Month(12)]
4950
5051
# build bonds
5152
issue_dates = [Date(2005, 3, 15), Date(2005, 6, 15), Date(2006, 6, 30), Date(2002, 11, 15), Date(1987, 5, 15)]

0 commit comments

Comments
 (0)