Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
MichelJuillard
Periods.jl
Commits
10f89c6b
Verified
Commit
10f89c6b
authored
Feb 03, 2021
by
Stéphane Adjemian
Browse files
Fixed monthly periods.
Wrong variable name.
parent
00f28b06
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SimplePeriods.jl
View file @
10f89c6b
...
...
@@ -26,7 +26,7 @@ function Period(arg1::Integer, arg2::Integer, frequency::Frequency)
@assert
(
arg2
in
1
:
4
)
ordinal
=
4
*
(
arg1
-
1970
)
+
arg2
-
1
elseif
frequency
==
Month
@assert
(
subperiod
in
1
:
12
)
@assert
(
arg2
in
1
:
12
)
ordinal
=
12
*
(
arg1
-
1970
)
+
arg2
-
1
elseif
frequency
==
Week
ordinal
=
week1970
(
arg1
,
arg2
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment