Skip to content

Commit fe08e9a

Browse files
authored
Merge pull request #56 from alan-turing-institute/dev
fix duplicate type definition when using `@mlj_model` macro
2 parents 347cc85 + 407f2a7 commit fe08e9a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/MLJModelInterface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export is_same_except, isrepresented
4747
export Scientific, Found, Unknown, Known, Finite, Infinite,
4848
OrderedFactor, Multiclass, Count, Continuous, Textual,
4949
Binary, ColorImage, GrayImage, Image, Table
50-
export scitype, scitype_union, elscitype, nonmissing, trait
50+
export scitype, scitype_union, elscitype, nonmissing, trait, info
5151

5252
# ------------------------------------------------------------------------
5353
# To be extended

src/model_def.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ macro mlj_model(ex)
179179
quote
180180
Base.@__doc__ $ex
181181
export $modelname
182-
$ex
183182
$clean_ex
184183
end
185184
)

0 commit comments

Comments
 (0)