Skip to content

Boundserror with multiple right hand sides #318

@lijas

Description

@lijas

I get an error when not allocating x when I have multiple RHS.

A = Symmetric(rand(10,10))
b = rand(10,2)
cg(A,b) #Gives error because x is created as an vector
cg!(zeros(size(b)),A,b) #this works

I guess cg(A,b) should also work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions