Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloprobst committed Oct 25, 2024
1 parent 7726e60 commit a1bda77
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 3 additions & 1 deletion hyperon_das_atomdb_cpp/src/utils/expression_hasher.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@

#include <mbedtls/md5.h>

#include <string>
#include <stdexcept>
#include <string>

#include "type_aliases.h"

using namespace std;

Expand Down
10 changes: 5 additions & 5 deletions hyperon_das_atomdb_cpp/src/utils/patterns.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ using StringMatrix = vector<vector<string>>;

/**
* @brief A cache for binary matrices indexed by integers.
*
* This unordered map stores precomputed binary matrices (IntMatrix)
* associated with integer keys. It is used to optimize performance
*
* This unordered map stores precomputed binary matrices (IntMatrix)
* associated with integer keys. It is used to optimize performance
* by avoiding redundant calculations of the same binary matrix.
*
* @note The cache is initialized with a default entry where the key is 0
*
* @note The cache is initialized with a default entry where the key is 0
* and the value is an empty IntMatrix.
*/
unordered_map<int, IntMatrix> BINARY_MATRIX_CACHE = {{0, {{}}}};
Expand Down

0 comments on commit a1bda77

Please sign in to comment.