Skip to content

Commit 9d633aa

Browse files
authored
Import CompressionStrategy interface explicitly (#309)
According to the merged PR JuliaLang/julia#57311, all types should be imported explicitly. Otherwise, starting from Julia version 1.12.0, the compiler will generate a warning message during the precompilation process, which has been observed in the recent CI test on julia nightly. This PR should fix the problem.
1 parent 324e83f commit 9d633aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StochasticStyles/StochasticStyles.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ using ..Rimu: MultiScalar
2929
using ..Interfaces
3030
import ..Interfaces:
3131
deposit!, diagonal_element, offdiagonals, random_offdiagonal, default_style,
32-
apply_column!, step_stats, compress!, localpart
32+
apply_column!, step_stats, compress!, localpart, CompressionStrategy
3333
export
3434
StochasticStyle, IsStochasticInteger, IsDeterministic, IsStochasticWithThreshold,
3535
IsDynamicSemistochastic, StyleUnknown, Exact, WithReplacement, DynamicSemistochastic,

0 commit comments

Comments
 (0)