Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/dmet.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''

#importing required libraries
import localintegrals
import qcdmethelper
import numpy as np
Expand Down Expand Up @@ -493,7 +493,7 @@ def rdm_differences_derivative( self, newumatflat ):
thesize += self.imp_size[ count ] * self.imp_size[ count ]

gradient = []
for countgr in range( len( newumatflat ) ):
for countgr in range( len( newumatflat ) ): #range will be 0 to one less than newumatflat (stop value),with step value one
error_deriv = np.zeros( [ thesize ], dtype=float )
jump = 0
jumpsquare = 0
Expand Down