Skip to content

Dollar vector #568

@veretin

Description

@veretin

Hello,
I have problem with the following code:

v k,k1,k2, newvector;
c A,B,C;

g f = A(k1)*C(3*k1.k1 + 5*k1.k2 + 7*k2.k2);

* set $k                                                                                                                                
id A(k?$k) = A(k);

  argument C;
  print "in term %t we have $k = %$", $k;
  id $k = newvector;*  <-- this substitution is ignored!
*  id $k.$k = 0;*  <-- this gives error                                                                                                 
*  id $k.k2 = 0;*  <-- this gives error too                                                                                             
  endargument;

print+s;
.end

The substitution in "id $k = newvector;" is ignored.
By the way, the same code with symbols works.

Best regards,
OVeretin

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions