Skip to content

Commit 5e5a532

Browse files
committed
make truncation strategies public to allow specializing
1 parent b5d60ed commit 5e5a532

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/MatrixAlgebraKit.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ export ROCSOLVER_HouseholderQR, ROCSOLVER_QRIteration, ROCSOLVER_Jacobi,
3737

3838
export notrunc, truncrank, trunctol, truncerror, truncfilter
3939

40-
VERSION >= v"1.11.0-DEV.469" &&
40+
@static if VERSION >= v"1.11.0-DEV.469"
4141
eval(Expr(:public, :default_algorithm, :findtruncated, :findtruncated_svd,
4242
:select_algorithm))
43+
eval(Expr(:public, :TruncationByOrder, :TruncationByFilter, :TruncationByValue,
44+
:TruncationByError, :TruncationIntersection))
45+
end
4346

4447
include("common/defaults.jl")
4548
include("common/initialization.jl")

0 commit comments

Comments
 (0)