Skip to content

Commit

Permalink
Update to SVN r241
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Dec 13, 2017
1 parent 88e431e commit 3a85f15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.8.5)
project(LIBRESPONSE CXX)

find_package(Armadillo REQUIRED)
find_package(Armadillo)

set(SRC
configurable.C
Expand Down
12 changes: 12 additions & 0 deletions linear/iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,12 @@ class SolverIterator_linear : public SolverIterator_i<arma::vec> {
info.max_rmsd_beta = 0.0;
for (size_t iter = 0; iter < maxiter; iter++) {

if (print_level >= 10) {
rspvec_alph.print("rspvec_old_alph");
if (nden == 2)
rspvec_beta.print("rspvec_old_beta");
}

if (do_compute_generalized_density) {
// Compute J and K from D.
compute_generalized_density(Dg.slice(0), rspvec_alph, C_occ_alph, C_virt_alph);
Expand Down Expand Up @@ -534,6 +540,12 @@ class SolverIterator_ALMO_linear : public SolverIterator_nonorthogonal {
info.max_rmsd_beta = 0.0;
for (size_t iter = 0; iter < maxiter; iter++) {

if (print_level >= 10) {
rspvec_alph.print("rspvec_old_alph");
if (nden == 2)
rspvec_beta.print("rspvec_old_beta");
}

if (do_compute_generalized_density) {
// Compute J and K from D.
compute_generalized_density(Dg.slice(0), rspvec_alph, C_occ_alph, C_virt_alph);
Expand Down

0 comments on commit 3a85f15

Please sign in to comment.