Skip to content

Behavior of lis_vector_set_values2 #38

@vickysharma0812

Description

@vickysharma0812

In method lis_vector_set_values2 what is the purposed of this routine. I imagine that this routine performs the following action.

v(start+1:start+count) = value(1:count)

However, why do we set

start=i in the for loop (see lines given below)

start = i;

In addition, this routine throws an error when flag= LIS_INS_VALUE. This is because start-- goes out of the bound.

Regards
Vikas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions