File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ using LinearElasticity.Solve: solve_elastic_constants
6
6
7
7
@testset " Test solving elastic constants on GaN (P6₃mc structure)" begin
8
8
positive_strains = map (1 : 6 ) do i
9
- EngineeringStrain (Float64 [j == i ? 0.005 : 0 for j in 1 : 6 ])
9
+ EngineeringStrain ([j == i ? 0.005 : 0 for j in 1 : 6 ])
10
10
end
11
11
negative_strains = - positive_strains
12
12
strains = collect (Iterators. flatten (zip (positive_strains, negative_strains))) # Combine two vectors with alternating strains
58
58
59
59
@testset " Test solving elastic constants on KNO₂ (Cm structure)" begin
60
60
positive_strains = map (1 : 6 ) do i
61
- EngineeringStrain (Float64 [j == i ? 0.005 : 0 for j in 1 : 6 ])
61
+ EngineeringStrain ([j == i ? 0.005 : 0 for j in 1 : 6 ])
62
62
end
63
63
negative_strains = - positive_strains
64
64
strains = collect (Iterators. flatten (zip (positive_strains, negative_strains)))
You can’t perform that action at this time.
0 commit comments