summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ogs-6.5.7-netcdfconverter.patch
blob: bc64a4499364c193617a6039fc12eea8dabedad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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")