Simplify the realization triggering system #105

Merged
glen merged 6 commits from Vectornaut/dyna3:reactive-realization-cleanup into main 2025-07-31 22:21:34 +00:00
Showing only changes of commit 779c0260bb - Show all commits

View file

@ -383,7 +383,9 @@ pub fn realize_gram(
// start the descent history // start the descent history
let mut history = DescentHistory::new(); let mut history = DescentHistory::new();
// handle the empty-assembly case // handle the case where the assembly is empty. our general realization
// routine can't handle this case because it builds the Hessian using
// `DMatrix::from_columns`, which panics when the list of columns is empty
let assembly_dim = guess.ncols(); let assembly_dim = guess.ncols();
if assembly_dim == 0 { if assembly_dim == 0 {
let result = Ok( let result = Ok(