Skip to content

Weird vector values. #183

@Reptorian1125

Description

@Reptorian1125

Just leaving this here.

C:\Windows\System32>gmic e {vector(#4,[0,0,1,1,1,0,0,1])}
[gmic]./ Start G'MIC interpreter (v.3.7.4).
9,10,-1,-2
[gmic]./ End G'MIC interpreter.

That looks really, really, strange.

Had to address that in rep_nearest_ratio in the morning too.

- vector(#final_vector_size,ratio,is_true_ratio);
+ [ratio,is_true_ratio][0,(2+($#>3?bool($-1)))];

The reason I used is like this is wrap around values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions