Skip to content

Commit

Permalink
Merge branch 'main' into NP-76_wasm_bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
sedwards2009 committed Jul 22, 2024
2 parents 9df019e + 6e651c1 commit a4928f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conandata.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: "0.2.0-alpha.0"
version: "0.2.1"
2 changes: 1 addition & 1 deletion src/gcode/ast/entries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ M106::M106(size_t line_index, const std::string& raw_line, regex_result_t captur
if (const auto& value = captured.get<"S">()) { S = utils::stringConvert<double>(value.to_view()); }
if (const auto& value = captured.get<"P">()) { P = utils::stringConvert<size_t>(value.to_view()); }
// clang-format on
if (S == std::nullopt && P == std::nullopt)
if (S == std::nullopt)
{
throw std::runtime_error(fmt::format("Unable to parse: [{}] {}", line_index, raw_line));
}
Expand Down

0 comments on commit a4928f2

Please sign in to comment.