Skip to content

Commit

Permalink
pointer was pointing to itself
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodelugas committed Apr 19, 2018
1 parent eb6a0c4 commit 7ca9678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PW/src/pw_restart_new.f90
Original file line number Diff line number Diff line change
@@ -466,7 +466,7 @@ SUBROUTINE pw_write_schema( )
emaxpos, eopreg )
dipol_ptr => dipol_obj
END IF
IF ( lberry ) bp_obj_ptr => bp_obj_ptr
IF ( lberry ) bp_obj_ptr => qexsd_bp_obj
IF (output%electric_field_ispresent) &
CALL qexsd_init_outputElectricField(output%electric_field, lelfield, tefield, dipfield, &
lberry, BP_OBJ = bp_obj_ptr, EL_POL = bp_el_pol, ION_POL = bp_ion_pol, &

0 comments on commit 7ca9678

Please sign in to comment.