Skip to content

Commit b048635

Browse files
committed
[fix] old assert for Dt and jperp with n_color>2
1 parent e0526fb commit b048635

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

c++/triqs_ctseg/work_data.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ work_data_t::work_data_t(params_t const &p, inputs_t const &inputs, mpi::communi
5454
has_Dt = max_element(abs(inputs.d0t.data())) > 1.e-13;
5555
has_jperp = max_element(abs(inputs.jperpt.data())) > 1.e-13;
5656

57-
// Check: no J_perp or D(tau) implementation for more than 2 colors
58-
if (n_color != 2) {
59-
ALWAYS_EXPECTS((not has_jperp), "Error : has_jperp is true and we have {} colors instead of 2", n_color);
60-
ALWAYS_EXPECTS((not has_Dt), "Error : has_Dt is true and we have {} colors instead of 2", n_color);
61-
}
62-
6357
// For numerical integration of the D0 and Jperp
6458
auto ramp = nda::zeros<double>(p.n_tau_k);
6559
for (auto n : range(p.n_tau_k)) { ramp(n) = n * beta / (p.n_tau_k - 1); }

0 commit comments

Comments
 (0)