Giter Club home page Giter Club logo

Comments (4)

Jutho avatar Jutho commented on May 18, 2024

Nice catch; should be fixed when v0.2.6 of the package Strided is registered in METADATA; shouldn't take too long.

Your syntax invocation is a bit strange though, you overwrite the rank 2 array M with a rank zero array, i.e. M. If you just want the trace as a scalar, you could also do

M = randn(1,1)
@tensor t = M[a,a]

from tensoroperations.jl.

orialb avatar orialb commented on May 18, 2024

should be fixed when v0.2.6 of the package Strided is registered in METADATA; shouldn't take too long.

cool, thanks for the quick reply!

Your syntax invocation is a bit strange though, you overwrite the rank 2 array M with a rank zero array, i.e. M. If you just want the trace as a scalar, you could also do ...

Oh I didn't know that's possible, thanks for the tip.

from tensoroperations.jl.

Jutho avatar Jutho commented on May 18, 2024

Can you try pkg> update and see whether the problem persists or is solved?

from tensoroperations.jl.

orialb avatar orialb commented on May 18, 2024

The issue seems to be solved after the update of Strided.jl to v0.2.6.
Thanks!

from tensoroperations.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.