mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-03 01:56:18 +01:00
Throw away some return values that cause 'variable not used' warnings.
This commit is contained in:
parent
c54521a1f8
commit
70241915aa
@ -1006,12 +1006,12 @@ qmckl_exit_code qmckl_sherman_morrison_splitting(const qmckl_context context,
|
||||
uint64_t later_index[N_updates];
|
||||
uint64_t later = 0;
|
||||
|
||||
qmckl_exit_code rc = qmckl_slagel_splitting(
|
||||
(void) qmckl_slagel_splitting(
|
||||
LDS, Dim, N_updates, Updates, Updates_index, breakdown, Slater_inv,
|
||||
later_updates, later_index, &later, determinant);
|
||||
|
||||
if (later > 0) {
|
||||
qmckl_exit_code rc = qmckl_sherman_morrison_splitting(
|
||||
(void) qmckl_sherman_morrison_splitting(
|
||||
context, LDS, Dim, later, later_updates, later_index, breakdown,
|
||||
Slater_inv, determinant);
|
||||
}
|
||||
@ -1251,7 +1251,7 @@ qmckl_exit_code qmckl_sherman_morrison_smw32s(const qmckl_context context,
|
||||
const double* Updates_1block = &Updates[n_of_3blocks * length_3block];
|
||||
const uint64_t* Updates_index_1block = &Updates_index[3 * n_of_3blocks];
|
||||
uint64_t l = 0;
|
||||
qmckl_exit_code rc = qmckl_slagel_splitting(
|
||||
(void) qmckl_slagel_splitting(
|
||||
LDS, Dim, 1, Updates_1block, Updates_index_1block, breakdown,
|
||||
Slater_inv, later_updates + (LDS * later), later_index + later, &l,
|
||||
determinant);
|
||||
@ -1259,7 +1259,7 @@ qmckl_exit_code qmckl_sherman_morrison_smw32s(const qmckl_context context,
|
||||
}
|
||||
|
||||
if (later > 0) {
|
||||
qmckl_exit_code rc = qmckl_sherman_morrison_splitting(
|
||||
(void) qmckl_sherman_morrison_splitting(
|
||||
context, LDS, Dim, later, later_updates, later_index, breakdown,
|
||||
Slater_inv, determinant);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user