[Kst] [Bug 129530] New: Equation X output vector length error

netterfield at astro.utoronto.ca netterfield at astro.utoronto.ca
Wed Jun 21 02:10:40 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=129530         
           Summary: Equation X output vector length error
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: netterfield astro utoronto ca


Version:           1.3.0_devel (using KDE 3.5.3, Kubuntu Package 4:3.5.3-0ubuntu0.1 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-25-686

The recent patch to fix 128483 has problems:

Create to vectors of different lengths (eg, read two fields from a data source with different number of samples per frame).

Create an equation with the shorter length vector as X and use the longer length vector in the equation (eg, [V2] + 1).

Result: The output X vector will have the lenght of V2, but only the first [length_of_V1] samples will be set.

Expected: the output X vector will be exactly the same as the input X vector, except for its name.

Note that the current implementation attempts to copy the input vector to the output vector.  I think that it would be better to instead create a new class aliasVector which simply returns the properties of the source vector, except for its name, without making a copy.  Not sure what the cleanest C++ for this would be though.


More information about the Kst mailing list