diff --git a/src/fvm_cell.hpp b/src/fvm_cell.hpp index 5335c8129a5963d8d288094116442c431279a2f7..83fd8b769974f8447b3930d8f2477a0732d139fe 100644 --- a/src/fvm_cell.hpp +++ b/src/fvm_cell.hpp @@ -82,7 +82,7 @@ * * Resets state to initial conditiions and sets * internal simulation time to 0. - * + * * `lowered.advance(value_type dt)` * * Advanece simulation state by `dt` (value in @@ -325,7 +325,7 @@ void fvm_cell<T, I>::initialize( face_alpha_ = vector_type{ncomp, T{0}}; cv_capacitance_ = vector_type{ncomp, T{0}}; current_ = vector_type{ncomp, T{0}}; - voltage_ = vector_type{ncomp, T{0}}; + voltage_ = vector_type{ncomp, T{resting_potential_}}; using util::left; using util::right;