radix transform: add update hook
This commit is contained in:
parent
b6df1e7e41
commit
df91db7774
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue