Ticket #199: gunnar_9_1.12.diff

File gunnar_9_1.12.diff, 541 bytes (added by gunnar, 23 months ago)

Only try whether pass also gives seki at the root.

  • engine/owl.c

    diff --git a/engine/owl.c b/engine/owl.c
    index 2da5284..4fc22c7 100644
    a b do_owl_analyze_semeai(int apos, int bpos, 
    13191319  if (!pass && k == 1) { 
    13201320    if ((best_resulta == WIN && best_resultb == 0 
    13211321         && best_move != NO_MOVE 
    1322          && best_move == common_liberty.pos) 
     1322         && best_move == common_liberty.pos 
     1323         && stackp == 0) 
    13231324        || (best_resulta == KO_B && best_resultb == KO_B 
    13241325            && is_ko(best_move, owla->color, NULL))) { 
    13251326      do_owl_analyze_semeai(bpos, apos, owlb, owla, &this_resultb,