Skip to content

Commit 24b0af8

Browse files
committed
add overload import
1 parent f62ef85 commit 24b0af8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/testBlocks.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ struct TestCCW{T} <: FactorOperationalMemory where {T<:FunctorInferenceType}
6161
end
6262
Base.:(==)(a::TestCCW, b::TestCCW) = a.usrfnc! == b.usrfnc!
6363

64+
65+
## must overload the function
66+
import DistributedFactorGraphs: getFactorOperationalMemoryType
67+
6468
# DF, dropping DFG. so that Main context is used and can be overridden by IIF.getFac...Type
6569
getFactorOperationalMemoryType(par::NoSolverParams) = TestCCW
6670

0 commit comments

Comments
 (0)