radix transform: add update hook

This commit is contained in:
Michael Sippel 2021-06-05 23:01:00 +02:00
parent b6df1e7e41
commit df91db7774
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -24,6 +24,7 @@ impl RadixProjection {
src_digits: OuterViewPort<dyn SequenceView<Item = usize>>, src_digits: OuterViewPort<dyn SequenceView<Item = usize>>,
dst_digits: InnerViewPort<RwLock<Vec<usize>>> dst_digits: InnerViewPort<RwLock<Vec<usize>>>
) -> Arc<RwLock<Self>> { ) -> Arc<RwLock<Self>> {
dst_digits.0.add_update_hook(Arc::new(src_digits.0.clone()));
let proj = Arc::new(RwLock::new( let proj = Arc::new(RwLock::new(
RadixProjection { RadixProjection {
src_radix, src_radix,