changeset 1582:d9d767980d6f feature/grids/manifolds

Export ParameterSpace
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 26 Apr 2024 22:19:02 +0200
parents f77c5309dd2b
children 2a9ec1e2abad
files src/Grids/Grids.jl test/Grids/manifolds_test.jl
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r f77c5309dd2b -r d9d767980d6f src/Grids/Grids.jl
--- a/src/Grids/Grids.jl	Thu Apr 25 22:32:54 2024 +0200
+++ b/src/Grids/Grids.jl	Fri Apr 26 22:19:02 2024 +0200
@@ -5,7 +5,7 @@
 using Sbplib.LazyTensors
 using StaticArrays
 
-
+export ParameterSpace
 export HyperBox
 export Simplex
 export Interval
diff -r f77c5309dd2b -r d9d767980d6f test/Grids/manifolds_test.jl
--- a/test/Grids/manifolds_test.jl	Thu Apr 25 22:32:54 2024 +0200
+++ b/test/Grids/manifolds_test.jl	Fri Apr 26 22:19:02 2024 +0200
@@ -12,6 +12,7 @@
 end
 
 @testset "HyperBox" begin
+    @test HyperBox{<:Any, 2} <: ParameterSpace{2}
     @test HyperBox([1,1], [2,2]) isa HyperBox{Int, 2}
 
     @test limits(HyperBox([1,2], [3,4])) == ([1,2], [3,4])
@@ -35,6 +36,7 @@
 end
 
 @testset "Simplex" begin
+    @test Simplex{<:Any, 3} <: ParameterSpace{3}
     @test Simplex([1,2], [3,4]) isa Simplex{Int, 2}
     @test Simplex([1,2,3], [4,5,6],[1,1,1]) isa Simplex{Int, 3}