Skip to content

Commit 8b83617

Browse files
committed
Merge branch 'feature/4Q19/issue147' into jt/develop
2 parents ef36fd2 + af107a6 commit 8b83617

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/entities/DFGVariable.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ mutable struct PackedVariableNodeData
5959
x15::Bool ) = new(x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15)
6060
end
6161

62+
63+
abstract type AbstractVariableEstimate end
6264
"""
6365
$TYPEDEF
6466
@@ -70,7 +72,7 @@ Notes
7072
- `estimate` is the actual numerical estimate value,
7173
- Additional information such as how the data is represented (ie softtype) is stored alongside this data container in the `DFGVariableSummary` container.
7274
"""
73-
struct VariableEstimate
75+
struct VariableEstimate <: AbstractVariableEstimate
7476
solverKey::Symbol
7577
ppeType::Symbol
7678
estimate::Vector{Float64}
@@ -87,7 +89,7 @@ mutable struct DFGVariable <: AbstractDFGVariable
8789
label::Symbol
8890
timestamp::DateTime
8991
tags::Vector{Symbol}
90-
estimateDict::Dict{Symbol, Dict{Symbol, VariableEstimate}}
92+
estimateDict::Dict{Symbol, Dict{Symbol, <: AbstractVariableEstimate}}
9193
solverDataDict::Dict{Symbol, VariableNodeData}
9294
smallData::Dict{String, String}
9395
bigData::Dict{Symbol, AbstractBigDataEntry}
@@ -160,7 +162,7 @@ mutable struct DFGVariableSummary <: AbstractDFGVariable
160162
label::Symbol
161163
timestamp::DateTime
162164
tags::Vector{Symbol}
163-
estimateDict::Dict{Symbol, Dict{Symbol, VariableEstimate}}
165+
estimateDict::Dict{Symbol, Dict{Symbol, <:AbstractVariableEstimate}}
164166
softtypename::Symbol
165167
_internalId::Int64
166168
end

0 commit comments

Comments
 (0)