diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-10-29 16:14:02 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2021-11-05 00:15:47 -0700 |
commit | 6e297b9ba1d48515368eea5e93553aeec64ad152 (patch) | |
tree | c1ae98ea73df58194d77104f313081632903971a | |
parent | ace4586bf80d8d4dacfbd6ee74d92fb8e6ed5335 (diff) | |
download | spack-6e297b9ba1d48515368eea5e93553aeec64ad152.tar.gz spack-6e297b9ba1d48515368eea5e93553aeec64ad152.tar.bz2 spack-6e297b9ba1d48515368eea5e93553aeec64ad152.tar.xz spack-6e297b9ba1d48515368eea5e93553aeec64ad152.zip |
Fix a type in "variant_not_default" rule
-rw-r--r-- | lib/spack/spack/solver/concretize.lp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/solver/concretize.lp b/lib/spack/spack/solver/concretize.lp index 430f1c81c8..fd98aa92f3 100644 --- a/lib/spack/spack/solver/concretize.lp +++ b/lib/spack/spack/solver/concretize.lp @@ -428,7 +428,7 @@ variant_value(Package, Variant, Value) % The rules below allow us to prefer default values for variants % whenever possible. If a variant is set in a spec, or if it is % specified in an external, we score it as if it was a default value. -variant_not_default(Package, Variant, Value, 1) +variant_not_default(Package, Variant, Actual, 1) :- variant_value(Package, Variant, Actual), not variant_value(Package, Variant, Value), variant_default_value(Package, Variant, Value), |