chore: sync project state and current artifacts
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
//! - Timeout across fallback switches preserves best state
|
||||
|
||||
use entropyk_components::{
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector, SystemState,
|
||||
Component, ComponentError, JacobianBuilder, ResidualVector, StateSlice,
|
||||
};
|
||||
use entropyk_solver::solver::{
|
||||
ConvergenceStatus, FallbackConfig, FallbackSolver, NewtonConfig, PicardConfig, Solver,
|
||||
@@ -39,7 +39,7 @@ impl LinearSystem2x2 {
|
||||
impl Component for LinearSystem2x2 {
|
||||
fn compute_residuals(
|
||||
&self,
|
||||
state: &SystemState,
|
||||
state: &StateSlice,
|
||||
residuals: &mut ResidualVector,
|
||||
) -> Result<(), ComponentError> {
|
||||
residuals[0] = self.a[0][0] * state[0] + self.a[0][1] * state[1] - self.b[0];
|
||||
@@ -49,7 +49,7 @@ impl Component for LinearSystem2x2 {
|
||||
|
||||
fn jacobian_entries(
|
||||
&self,
|
||||
_state: &SystemState,
|
||||
_state: &StateSlice,
|
||||
jacobian: &mut JacobianBuilder,
|
||||
) -> Result<(), ComponentError> {
|
||||
jacobian.add_entry(0, 0, self.a[0][0]);
|
||||
|
||||
Reference in New Issue
Block a user