mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-24 13:23:41 +01:00
potential fragmentation bug
This commit is contained in:
parent
ad69f39f99
commit
aae9d203ec
@ -370,7 +370,7 @@ subroutine dress_collector(zmq_socket_pull, E, relative_error, delta, delta_s2,
|
|||||||
allocate(breve_delta_m(N_states, N_det, 2))
|
allocate(breve_delta_m(N_states, N_det, 2))
|
||||||
allocate(dot_f(dress_N_cp))
|
allocate(dot_f(dress_N_cp))
|
||||||
allocate(S(pt2_N_teeth+1), S2(pt2_N_teeth+1))
|
allocate(S(pt2_N_teeth+1), S2(pt2_N_teeth+1))
|
||||||
edI = -100000d0
|
edI = 0d0
|
||||||
|
|
||||||
cp = 0d0
|
cp = 0d0
|
||||||
dot_f(:) = dress_dot_F(:)
|
dot_f(:) = dress_dot_F(:)
|
||||||
@ -418,7 +418,7 @@ subroutine dress_collector(zmq_socket_pull, E, relative_error, delta, delta_s2,
|
|||||||
endif
|
endif
|
||||||
end do
|
end do
|
||||||
do i=1,n_tasks
|
do i=1,n_tasks
|
||||||
edI(:, edI_index(i)) = edI_task(:, i) !!!!!!!!!!!!!!! += !!!!!
|
edI(:, edI_index(i)) += edI_task(:, i)
|
||||||
end do
|
end do
|
||||||
cp(:,:,m_task,1) += breve_delta_m(:,:,1)
|
cp(:,:,m_task,1) += breve_delta_m(:,:,1)
|
||||||
cp(:,:,m_task,2) += breve_delta_m(:,:,2)
|
cp(:,:,m_task,2) += breve_delta_m(:,:,2)
|
||||||
|
Loading…
Reference in New Issue
Block a user