Skip to content

Commit 6ee4017

Browse files
Replace inappropriate inner constructor
1 parent 31dd6bb commit 6ee4017

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Climate.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ struct Climate
66
rainfall_id::String
77
et_id::String
88
t_id::String
9-
10-
function Climate(data, p_id, et_id)
11-
return new(data, p_id, et_id, "_T")
12-
end
9+
end
10+
function Climate(data, p_id, et_id)
11+
return Climate(data, p_id, et_id, "_T")
1312
end
1413

1514
"""

0 commit comments

Comments
 (0)