From 1d37c290b25768d9959d8f285efe72179c96cb21 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Tue, 13 Feb 2024 17:43:22 +0100 Subject: [PATCH] Fix matrices typo --- src/include/TransitionMatrix.h | 4 ++-- src/testing/test_TTMS.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/TransitionMatrix.h b/src/include/TransitionMatrix.h index 9180faba..25e5cf86 100644 --- a/src/include/TransitionMatrix.h +++ b/src/include/TransitionMatrix.h @@ -164,9 +164,9 @@ class TransitionMatrix { /*! \brief Test whether two instances of TransitionMatrix are equal. * - * Transition matrixes can be the result of a calculation or of a file input operation, + * Transition matrices can be the result of a calculation or of a file input operation, * reading from a previously computed object. The `==` operator tests for the equivalence - * of two transition matrixes, returning `true` if they are equivalnet, `false` otherwise. + * of two transition matrices, returning `true` if they are equivalnet, `false` otherwise. * * \param other: `TransitionMatrix &` Reference to the instance to be compared with. * \return result: `bool` True, if the two instances are equal, false otherwise. diff --git a/src/testing/test_TTMS.cpp b/src/testing/test_TTMS.cpp index bdf0daae..3b054359 100644 --- a/src/testing/test_TTMS.cpp +++ b/src/testing/test_TTMS.cpp @@ -35,9 +35,9 @@ int main(int argc, char **argv) { } a = TransitionMatrix::from_binary(legacy_file); b = TransitionMatrix::from_binary(hdf5_file, "HDF5"); - if (*a == *b) printf("Transition matrixes a and b are equal.\n"); + if (*a == *b) printf("Transition matrices a and b are equal.\n"); else { - printf("Transition matrixes a and b are different.\n"); + printf("Transition matrices a and b are different.\n"); result = 1; } return result; -- GitLab