1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-08 06:00:36 +02:00
Files
guix/gnu/packages/patches/ogs-6.5.7-netcdfconverter.patch
Lars Bilke 4b5932da6d gnu: ogs-serial: Use vtk instead of vtk-9.3.
* gnu/packages/geo.scm (ogs-serial)[source]: Add patch.
* gnu/packages/patches/ogs-6.5.7-netcdfconverter.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: I1301a2d77e2e30317c96947d3d37324df7489718
Signed-off-by: Andreas Enge <andreas@enge.fr>
2026-02-16 17:05:26 +01:00

24 lines
1.1 KiB
Diff

Upstream fix
https://gitlab.opengeosys.org/ogs/ogs/-/commit/9a8399b0d3cff032e70fe79a85dc35c4e7c662f2
diff --git a/Applications/Utils/FileConverter/NetCdfConverter.cpp b/Applications/Utils/FileConverter/NetCdfConverter.cpp
index c6fb9f151d..622bd2cd54 100644
--- a/Applications/Utils/FileConverter/NetCdfConverter.cpp
+++ b/Applications/Utils/FileConverter/NetCdfConverter.cpp
@@ -232,11 +232,12 @@ static bool dimensionSelectionLoop(NcVar const& var,
if (n_dims > 1)
{
std::string temp_str("");
- cout << "Is the parameter time-dependent?\n";
+ std::cout << "Is the parameter time-dependent?\n";
while (dim_idx_map[0] == std::numeric_limits<std::size_t>::max() &&
is_time_dep == true)
{
- cout << "Enter ID for temporal dimension or \"c\" to continue: ";
+ std::cout
+ << "Enter ID for temporal dimension or \"c\" to continue: ";
std::getline(std::cin, temp_str);
std::stringstream str_stream(temp_str);
if (str_stream.str() == "c" || str_stream.str() == "continue")