Skip to content

Commit

Permalink
fixed bug in example
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMct committed Mar 15, 2024
1 parent a5ef8c2 commit 7752471
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion examples/vec-mul/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
)

var (

// sessionParams defines the session parameters for the example application
sessionParams = session.Parameters{
ID: "example-session", // the id of the session must be unique
Expand Down
1 change: 1 addition & 0 deletions session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func NewSession(sessParams Parameters, nodeID helium.NodeID) (sess *Session, err
}
}

sess.RLWEParams = sessParams.RLWEParams
sess.Params, err = bgv.NewParametersFromLiteral(sessParams.RLWEParams)
if err != nil {
return nil, fmt.Errorf("could not create session parameters: %s", err)
Expand Down

0 comments on commit 7752471

Please sign in to comment.