Skip to content

Commit 13acc6f

Browse files
committed
Tidy up includes
1 parent 4a803cc commit 13acc6f

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

dynadjust/dynadjust/dnaadjust/dnaadjust.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <filesystem>
21
// Author : Roger Fraser
32
// Contributors : Dale Roberts <[email protected]>
43
// Copyright : Copyright 2017-2025 Geoscience Australia
@@ -9693,6 +9692,11 @@ void dna_adjust::LoadNetworkFiles()
96939692
SignalExceptionAdjustment("LoadNetworkFiles(): Failed to load network files", 0);
96949693
}
96959694

9695+
// Check if all measurements are ignored (no measurements to process)
9696+
if (measurementCount_ == 0 || (v_CML_.size() > 0 && v_CML_.at(0).empty())) {
9697+
SignalExceptionAdjustment("LoadNetworkFiles(): No valid measurements to process. All measurements may be ignored.", 0);
9698+
}
9699+
96969700
// Ensure v_blockStationsMap_ matches expected state
96979701
if (v_blockStationsMap_.empty()) {
96989702
v_blockStationsMap_.resize(1);

dynadjust/dynadjust/dnaadjust/dnaadjust.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@
4747
#include <chrono>
4848
#include <functional>
4949

50-
#include <exception>
5150
#include <filesystem>
5251
#include <boost/math/distributions/chi_squared.hpp>
5352
#include <boost/math/distributions/normal.hpp>
54-
#include <chrono>
5553

5654
#include <atomic>
5755

dynadjust/dynadjust/dnaimportwrapper/dnaimportwrapper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
#include <chrono>
5050

5151
#include <memory>
52+
#include <filesystem>
5253
#include <boost/program_options/options_description.hpp>
5354
#include <boost/program_options/parsers.hpp>
5455
#include <boost/program_options/variables_map.hpp>
55-
#include <filesystem>
5656
#include <include/config/dnaversion.hpp>
5757
#include <include/config/dnaconsts.hpp>
5858
#include <include/config/dnaconsts-interface.hpp>

dynadjust/dynadjust/dnaplot/dnaplot.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
#include <memory>
4343
#include <filesystem>
44+
#include <thread>
4445

4546
#include <include/config/dnaexports.hpp>
4647
#include <include/config/dnaversion.hpp>

dynadjust/dynadjust/dnaplotwrapper/dnaplotwrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <filesystem>
21
//============================================================================
32
// Name : dnaplotwrapper.cpp
43
// Author : Roger Fraser

dynadjust/dynadjust/dnasegment/dnasegment.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <filesystem>
21
//============================================================================
32
// Name : dnasegment.cpp
43
// Author : Roger Fraser

dynadjust/dynadjust/dnasegmentwrapper/dnasegmentwrapper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#include <filesystem>
21
//============================================================================
32
// Name : dnasegmentwrapper.cpp
43
// Author : Roger Fraser

0 commit comments

Comments
 (0)