Skip to content

Commit

Permalink
Correct weak pawn eval (ignored parameter)
Browse files Browse the repository at this point in the history
  • Loading branch information
nionita committed Oct 30, 2020
1 parent 14c3b32 commit a5ffd72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Eval/Eval.hs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ enPrise :: MyPos -> EvalWeights -> MidEnd -> MidEnd
enPrise p !ew = mad (ewEnpHanging ew) ha .
mad (ewEnpEnPrise ew) ep .
mad (ewEnpAttacked ew) at .
mad (ewWepAttacked ew) wp .
mad (ewWepTotal ew) wp .
mad (ewWepAttacked ew) wa
where !meP = me p .&. pawns p -- my pieces
!meM = me p .&. (knights p .|. bishops p)
Expand Down
2 changes: 1 addition & 1 deletion Main/Barbarossa.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ progName, progVersion, progVerSuff, progAuthor :: String
progName = "Barbarossa"
progAuthor = "Nicu Ionita"
progVersion = "0.6.0"
progVerSuff = "i2010"
progVerSuff = "i2010c"

data Options = Options {
optConfFile :: Maybe String, -- config file
Expand Down

0 comments on commit a5ffd72

Please sign in to comment.