[ 
https://issues.apache.org/jira/browse/STDCXX-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602140#action_12602140
 ] 

vitek edited comment on STDCXX-901 at 6/4/08 1:50 AM:
-------------------------------------------------------------

Changelog removed.

      was (Author: vitek):
    {noformat}
2008-06-03  Travis Vitek  <[EMAIL PROTECTED]>

        STDCXX-901
        * include/valarray (gslice_array<>::operator=): Check to see
        if slice is empty before attempting to iterate over it. Check
        that slice is reset only after getting the first index.
        (gslice_array<>::operator*=): Ditto.
        (gslice_array<>::operator/=): Ditto.
        (gslice_array<>::operator+=): Ditto.
        (gslice_array<>::operator-=): Ditto.
        (gslice_array<>::operator%=): Ditto.
        (gslice_array<>::operator^=): Ditto.
        (gslice_array<>::operator&=): Ditto.
        (gslice_array<>::operator|=): Ditto.
        (gslice_array<>::operator<<=): Ditto.
        (gslice_array<>::operator>>=): Ditto.
        (valarray<>::ctor): Ditto.
        (valarray<>::operator=): Ditto.
        (gslice::ind_numb): Correctly calculate number of indexes
        given an array of lengths.
        * tests/numerics/26.gslice.array.cassign.cpp: New test for
        gslice computed assignment operators.
{noformat}
  
> 26.class.gslice test fails
> --------------------------
>
>                 Key: STDCXX-901
>                 URL: https://issues.apache.org/jira/browse/STDCXX-901
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2.0, 4.2.1
>         Environment: MSVC
>            Reporter: Farid Zaripov
>            Assignee: Travis Vitek
>            Priority: Minor
>             Fix For: 4.2.2
>
>          Time Spent: 8h
>  Remaining Estimate: 0h
>
> The 26.class.gslice test fails with the 162 similar assertions:
> {noformat}
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 1: expected 1, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 1: expected 1, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 1: expected 1, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 2: expected 2, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 2: expected 2, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 2: expected 2, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 3: expected 3, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 3: expected 3, got 0
> # ASSERTION (S7) (5 lines):
> # TEXT: mismatch at 0, index 3: expected 3, got 0
> ...
> {noformat}
>   I'm not found the opened issue for gslice, so maybe this is another bug in 
> gslice class or maybe the test itself is incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to