Skip to content

Commit 78b6b80

Browse files
committed
refactor: move imports to top
1 parent 690e0f1 commit 78b6b80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PopMember.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ using DispatchDoctor: @unstable
44
using DynamicExpressions: AbstractExpression, AbstractExpressionNode, string_tree
55
import DynamicExpressions: constructorof
66
using ..CoreModule: AbstractOptions, Dataset, DATA_TYPE, LOSS_TYPE, create_expression
7+
import ..CoreModule.OptionsModule: default_popmember_type
78
import ..ComplexityModule: compute_complexity
89
using ..UtilsModule: get_birth_order
910
using ..LossFunctionsModule: eval_cost
@@ -259,10 +260,7 @@ end
259260
# Function to extract PopMember type from Population or HallOfFame types
260261
function popmember_type end
261262

262-
# Default PopMember type for Options
263-
import ..CoreModule.OptionsModule: default_popmember_type
264263
default_popmember_type() = PopMember
265-
266264
constructorof(::Type{<:PopMember}) = PopMember
267265

268266
end

0 commit comments

Comments
 (0)