Skip to content

Commit

Permalink
fix README and inline def of logging_level_to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMarchand20 committed Sep 30, 2024
1 parent 1a3b198 commit fe5e690
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ All notable changes to this project will be documented in this file.

## Unreleased

### Fixed

- fix inline definition of `logging_level_to_string`

## [0.9.0] - 2024-09-19

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# HTOOL [![CI](https://github.com/htool-ddm/htool/actions/workflows/CI.yml/badge.svg?branch=develop)](https://github.com/htool-ddm/htool/actions/workflows/CI.yml) [![codecov](https://codecov.io/gh/htool-ddm/htool/branch/main/graph/badge.svg?token=1JJ40GPFA5)](https://codecov.io/gh/htool-ddm/htool)
# HTOOL [![CI](https://github.com/htool-ddm/htool/actions/workflows/CI.yml/badge.svg)](https://github.com/htool-ddm/htool/actions/workflows/CI.yml) [![codecov](https://codecov.io/gh/htool-ddm/htool/branch/main/graph/badge.svg?token=1JJ40GPFA5)](https://codecov.io/gh/htool-ddm/htool)

## What is Htool?

Expand Down
2 changes: 1 addition & 1 deletion include/htool/hmatrix/hmatrix_distributed_output.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

namespace htool {

bool is_positive_integer(const std::string &s) {
inline bool is_positive_integer(const std::string &s) {
return !s.empty() && std::find_if(s.begin(), s.end(), [](unsigned char c) { return !std::isdigit(c); }) == s.end();
}

Expand Down
2 changes: 1 addition & 1 deletion include/htool/misc/logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ enum class LogLevel : unsigned int {
INFO = 40,
};

std::string logging_level_to_string(LogLevel logging_level) {
inline std::string logging_level_to_string(LogLevel logging_level) {
switch (logging_level) {
case LogLevel::CRITICAL:
return "[Htool critical] ";
Expand Down

0 comments on commit fe5e690

Please sign in to comment.