Skip to content

Commit

Permalink
changing version to 2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
clararod9 committed Jul 22, 2022
1 parent c41df24 commit 3fa5592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion circom/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "circom"
version = "2.0.5"
version = "2.0.6"
authors = ["Costa Group UCM & iden3"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ fn check_number_version(
use errors::{CompilerVersionError, NoCompilerVersionWarning};
if let Some(required_version) = version_file {
if required_version.0 == version_compiler.0
&& required_version.1 == version_compiler.1
&& required_version.2 <= version_compiler.2 {
&& (required_version.1 < version_compiler.1 ||
(required_version.1 == version_compiler.1 && required_version.2 <= version_compiler.2)) {
Ok(vec![])
} else {
let report = CompilerVersionError::produce_report(
Expand Down

0 comments on commit 3fa5592

Please sign in to comment.