Commit 1d37c290 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Fix matrices typo

parent 55267194
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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.
+2 −2
Original line number Original line Diff line number Diff line
@@ -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;