|
|
@@ -501,6 +501,10 @@
|
|
|
<xsl:message>#534 there are PathsCrossed - allow to decrease -1</xsl:message>
|
|
|
<xsl:value-of select="0"/>
|
|
|
</xsl:when>
|
|
|
+ <xsl:when test="$poprzednie_odpalam_liczenie_or_nie/poprzednie_odpalam_liczenie_or_nie"><!-- jak jest kolejny nr grupy to tez moze nie byc potrzebny wezel! -->
|
|
|
+ <xsl:message>#505 Zakladamy, ze moze nie byc potrzebny wezel w tej grupie, bo jest poprzednia grupa w danych w tej petli!</xsl:message>
|
|
|
+ <xsl:value-of select="0"/>
|
|
|
+ </xsl:when>
|
|
|
<xsl:otherwise><xsl:value-of select="1"/></xsl:otherwise>
|
|
|
</xsl:choose>
|
|
|
</xsl:variable>
|
|
|
@@ -623,6 +627,9 @@
|
|
|
<xsl:choose>
|
|
|
<xsl:when test=" string-length($digits) > number($max_bit)">
|
|
|
<xsl:choose>
|
|
|
+ <xsl:when test="$variant = 0">
|
|
|
+ <xsl:value-of select="$variant"/><!-- dla sprawdzenia wzajemnych relacji CrossWays -->
|
|
|
+ </xsl:when>
|
|
|
<xsl:when test="$bit = $max_possible_bit">
|
|
|
<xsl:value-of select="$variant"/><!-- osiagnieto max -->
|
|
|
<xsl:message>#627 Osiagnieto MAX $bit<xsl:value-of select="$bit"/>; = $max_possible_bit=<xsl:value-of select="$max_possible_bit"/>;</xsl:message>
|