Skip to content
Snippets Groups Projects
Commit 1d37c290 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Fix matrices typo

parent 55267194
No related branches found
No related tags found
No related merge requests found
...@@ -164,9 +164,9 @@ class TransitionMatrix { ...@@ -164,9 +164,9 @@ class TransitionMatrix {
/*! \brief Test whether two instances of TransitionMatrix are equal. /*! \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 * 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. * \param other: `TransitionMatrix &` Reference to the instance to be compared with.
* \return result: `bool` True, if the two instances are equal, false otherwise. * \return result: `bool` True, if the two instances are equal, false otherwise.
......
...@@ -35,9 +35,9 @@ int main(int argc, char **argv) { ...@@ -35,9 +35,9 @@ int main(int argc, char **argv) {
} }
a = TransitionMatrix::from_binary(legacy_file); a = TransitionMatrix::from_binary(legacy_file);
b = TransitionMatrix::from_binary(hdf5_file, "HDF5"); 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 { else {
printf("Transition matrixes a and b are different.\n"); printf("Transition matrices a and b are different.\n");
result = 1; result = 1;
} }
return result; return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment