mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
Merge branch 'ml/fix-chemistry' into 'main'
Fix chemistry See merge request naaice/poet!30
This commit is contained in:
commit
6d2d053eac
@ -1 +1 @@
|
|||||||
Subproject commit 749fdbc2e9478046bf3f270c70e5800637246712
|
Subproject commit e6e5e0d5156c093241a53e6ce074ef346d64ae26
|
||||||
@ -301,7 +301,7 @@ void poet::ChemistryModule::WorkerRunWorkPackage(WorkPackage &work_package,
|
|||||||
|
|
||||||
std::size_t output_index = 0;
|
std::size_t output_index = 0;
|
||||||
for (std::size_t i = 0; i < work_package.output[wp_id].size(); i++) {
|
for (std::size_t i = 0; i < work_package.output[wp_id].size(); i++) {
|
||||||
if (std::isnan(work_package.output[wp_id][i])) {
|
if (!std::isnan(work_package.output[wp_id][i])) {
|
||||||
work_package.output[wp_id][i] = curr_input[output_index++];
|
work_package.output[wp_id][i] = curr_input[output_index++];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user