Changeset 19832d for src/Graph/BondGraph.cpp
- Timestamp:
- Mar 16, 2024, 10:22:50 AM (20 months ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- c099dc
- Parents:
- 9782e20
- git-author:
- Frederik Heber <frederik.heber@…> (03/16/24 09:40:05)
- git-committer:
- Frederik Heber <frederik.heber@…> (03/16/24 10:22:50)
- File:
-
- 1 edited
-
src/Graph/BondGraph.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Graph/BondGraph.cpp
r9782e20 r19832d 125 125 int secondZ) const 126 126 { 127 // returns 1. as an at least useful length 127 128 int firstIndex = firstZ-1; 128 129 int secondIndex = secondZ-1; 129 130 double return_length; 130 131 if ((firstIndex < 0) || (firstIndex >= (int)BondLengthMatrix->Matrix[0].size())) 131 return -1.;132 return 1.; 132 133 if ((secondIndex < 0) || (secondIndex >= (int)BondLengthMatrix->Matrix[0][firstIndex].size())) 133 return -1.;134 return 1.; 134 135 if (BondLengthMatrix == NULL) { 135 return_length = -1.;136 return_length = 1.; 136 137 } else { 137 138 return_length = BondLengthMatrix->Matrix[0][firstIndex][secondIndex];
Note:
See TracChangeset
for help on using the changeset viewer.
