Skip to content

Commit

Permalink
move enum to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Mar 5, 2024
1 parent 71a422d commit e92db6e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/optimization/enums.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@scoped_enum(BuildStatus, IN_PROGRESS = -1, BUILT = 0, FAILED = 1, EMPTY = 2,)
1 change: 1 addition & 0 deletions src/optimization/optimization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export OptimizationProblemResults
export OptimizationProblemResultsExport
export OptimizerStats

include("enums.jl")
include("optimization_container_types.jl")
include("abstract_model_store.jl")
include("abstract_model_store_params.jl")
Expand Down
2 changes: 0 additions & 2 deletions src/optimization/optimization_container_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ abstract type ConstructStage end

struct ArgumentConstructStage <: ConstructStage end
struct ModelConstructStage <: ConstructStage end

@scoped_enum(BuildStatus, IN_PROGRESS = -1, BUILT = 0, FAILED = 1, EMPTY = 2,)

0 comments on commit e92db6e

Please sign in to comment.