Skip to content

Commit

Permalink
adding warning for Eigen version < 3.3.0
Browse files Browse the repository at this point in the history
where compilation errors can occur in models with complex parameters.
  • Loading branch information
Expander committed Jun 27, 2017
1 parent 3b15fab commit 02401ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1575,6 +1575,12 @@ int main() {

result "ok (version ${eigen_version})"
logmsg " Eigen version found: ${eigen_version}"

version_at_least "$eigen_version" "3.3.0" || {
message "Warning: You are using Eigen ${eigen_version}."
message " Compliation errors can occur with this Eigen version in models with"
message " complex parameters. We recommend to upgrade to Eigen 3.3.0 at least."
}
}

#_____________________________________________________________________
Expand Down

0 comments on commit 02401ee

Please sign in to comment.