{{ message }}

# davidhallac / TVGL

Fixed float error

davidhallac committed Jun 19, 2017
1 parent 259b61a commit 72195d8a6bf93b0b06aa9ccf84262d63609a784b
Showing with 5 additions and 5 deletions.
1. +1 −1 inferGraphL1.py
2. +1 −1 inferGraphL2.py
3. +1 −1 inferGraphLaplacian.py
4. +1 −1 inferGraphLinf.py
5. +1 −1 inferGraphPN.py
 @@ -1120,7 +1120,7 @@ def ADMM_x(entry): numpymat = cvxpyMat.value n_t=1 # Assume number of samples is 1 at each node, need to be alterned alter # Iterate through all neighbors of the node mat_shape = (numpymat.shape * ( numpymat.shape+1 )/2.0 ,) mat_shape = (int(numpymat.shape * ( numpymat.shape+1 )/2.0),) a = numpy.zeros(mat_shape) # print 'degree = ', entry[X_DEG] for i in xrange(entry[X_DEG]): # entry[X_DEG] = 3 if the node is neither first and the last one
 @@ -1120,7 +1120,7 @@ def ADMM_x(entry): numpymat = cvxpyMat.value n_t=1 # Assume number of samples is 1 at each node, need to be alterned alter # Iterate through all neighbors of the node mat_shape = (numpymat.shape * ( numpymat.shape+1 )/2.0 ,) mat_shape = (int(numpymat.shape * ( numpymat.shape+1 )/2.0),) a = numpy.zeros(mat_shape) # print 'degree = ', entry[X_DEG] for i in xrange(entry[X_DEG]): # entry[X_DEG] = 3 if the node is neither first and the last one
 @@ -1120,7 +1120,7 @@ def ADMM_x(entry): numpymat = cvxpyMat.value n_t=1 # Assume number of samples is 1 at each node, need to be alterned alter # Iterate through all neighbors of the node mat_shape = (numpymat.shape * ( numpymat.shape+1 )/2.0 ,) mat_shape = (int(numpymat.shape * ( numpymat.shape+1 )/2.0),) a = numpy.zeros(mat_shape) # print 'degree = ', entry[X_DEG] for i in xrange(entry[X_DEG]): # entry[X_DEG] = 3 if the node is neither first and the last one
 @@ -1120,7 +1120,7 @@ def ADMM_x(entry): numpymat = cvxpyMat.value n_t=1 # Assume number of samples is 1 at each node, need to be alterned alter # Iterate through all neighbors of the node mat_shape = (numpymat.shape * ( numpymat.shape+1 )/2.0 ,) mat_shape = (int(numpymat.shape * ( numpymat.shape+1 )/2.0),) a = numpy.zeros(mat_shape) # print 'degree = ', entry[X_DEG] for i in xrange(entry[X_DEG]): # entry[X_DEG] = 3 if the node is neither first and the last one
 @@ -1120,7 +1120,7 @@ def ADMM_x(entry): numpymat = cvxpyMat.value n_t=1 # Assume number of samples is 1 at each node, need to be alterned alter # Iterate through all neighbors of the node mat_shape = (numpymat.shape * ( numpymat.shape+1 )/2.0 ,) mat_shape = (int(numpymat.shape * ( numpymat.shape+1 )/2.0),) a = numpy.zeros(mat_shape) # print 'degree = ', entry[X_DEG] for i in xrange(entry[X_DEG]): # entry[X_DEG] = 3 if the node is neither first and the last one