-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When you call complete_compressor(Gaussian(), x::Vector)
you get an undefined error. In reality there is no reason that this should not work. The solution will be to change the type of the second entry of the function to AbstractArray
rather than AbstractMatrix
.
To Reproduce
Please include the code that you have written that is resulting in the bug. To know how to format the code in the issue please see https://help.github.com/articles/basic-writing-and-formatting-syntax/.
using RLinearAlgebra
using LinearAlgebra
x = rand(100)
S = complete_compressor(Gaussian(), x)
Expected behavior
This should return a Gaussian compressor with 100 columns and 2 rows.
Screenshots
None
Desktop (please complete the following information):
This is an issue for all versions and desktop types.
Additional context
None
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working