summaryrefslogtreecommitdiff
path: root/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2022-06-08 09:20:18 +0200
committerGitHub <noreply@github.com>2022-06-08 09:20:18 +0200
commitf045b0fe772e2c690d80aebcd31734700790c8a8 (patch)
tree627e41947a1ff275c92441a8b953b829d8311d70 /src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp
parent91b21f6cfdf8e225070514c34bd6fcae296e3d52 (diff)
parente66ad01ed9fefd2fd4584c5e7928f808e3f257f5 (diff)
Merge branch 'master' into feature/bug_class_diagrams
Diffstat (limited to 'src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp')
-rw-r--r--src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp b/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp
index 3d2ba54f..3811d1f1 100644
--- a/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp
+++ b/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp
@@ -40,7 +40,7 @@ int main() {
throw "The input matrix is not a correlation matrix. The program will now terminate.\n";
}
correlations[i][j] = 1 - correlations[i][j];
- // Here we make sure that we will get the treshold value equal to maximal
+ // Here we make sure that we will get the threshold value equal to maximal
// distance in the matrix.
if (correlations[i][j] > threshold) threshold = correlations[i][j];
}