Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ickk committed May 27, 2024
1 parent 9fb8371 commit aff8ffb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ega/src/operators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mod join;
mod meet;
mod mul;
mod neg;
mod norm;
// mod norm;
mod normalise;
mod partial_eq;
mod reverse;
Expand Down
1 change: 1 addition & 0 deletions rga/src/operators/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// - matrix exomorphisms
// - distance (euclidean)
// - angle
// - sandwich product

mod antidot_product;
mod antiwedge_product;
Expand Down
7 changes: 7 additions & 0 deletions rga/src/values/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ impl From<Empty> for Scalar {
Self::ZERO
}
}

impl From<F> for Scalar {
#[inline]
fn from(f: F) -> Scalar {
Scalar { s: f }
}
}

0 comments on commit aff8ffb

Please sign in to comment.