Skip to content

Commit

Permalink
fix mag test
Browse files Browse the repository at this point in the history
  • Loading branch information
louisponet committed Jun 17, 2019
1 parent 1cac3e4 commit 2344c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/job_control_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ for (p, at) in zip(prev_pos, atoms(job))
@test round.(DFControl.ustrip(p * 2), digits=5) == round.(DFControl.ustrip(position_cart(at)), digits=5)
end

set_magnetization!(job, :Pt, [1.0, 0.0, 0.0])
set_magnetization!(job, :Pt => [1.0, 0.0, 0.0])
@test magnetization(atom(job, :Pt)) == DFControl.Vec3(1.0, 0.0, 0.0)

rm.(DFControl.inpath.(job.inputs))
Expand Down

0 comments on commit 2344c00

Please sign in to comment.