Skip to content

Commit 5b84c1a

Browse files
author
abacus_fixer
committed
deltaspin: remove redundant sc_parse_json.cpp
sc_parse_json.cpp contained only two explicit template instantiations (template class spinconstrain::SpinConstrain<std::complex<double>> and the double specialization) at global scope. The same instantiations already exist at the end of spin_constrain.cpp (inside namespace spinconstrain, lines 733-734), making this file dead code. History: the file predates the instantiations being added to spin_constrain.cpp; once those landed, sc_parse_json.cpp became redundant but was never cleaned up. The misleading filename (suggests JSON parsing) is also retired. Verification: cmake --build build_std_para --target deltaspin -j4 built successfully; SpinConstrain<TK> symbols still resolve via the in-file instantiations in spin_constrain.cpp.
1 parent 6356f78 commit 5b84c1a

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

source/source_lcao/module_deltaspin/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ list(APPEND objects
88
cal_mw_from_lambda.cpp
99
template_helpers.cpp
1010
deltaspin_lcao.cpp
11-
sc_parse_json.cpp
1211
cal_mw_helper.cpp
1312
mi_tools.cpp
1413
)

source/source_lcao/module_deltaspin/sc_parse_json.cpp

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)