Skip to content

Calling "argtoextrasymbol" of a function containing "g5_" crashes #340

Description

@mgerlach-phys

The following code crashes on execution without further error message.

cf f, g;

l A = f( g(g5_(1)) );
l B = f( g5(1) );
l C = f( gi_(1) );

argtoextrasymbol f;

print +s; 
.end

In this example code only the case B crashes. i.e. no error occurs in A and C.

I already found a walkaround, though. Just replace g5_ by an other generic tensor.

ntensor g5;
index rho;

[...]

argument f;
    id g_(rho?,5_) = g5(rho);
endargument;

[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions