diff --git a/src/amr/tagging/default_hybrid_tagger_strategy.hpp b/src/amr/tagging/default_hybrid_tagger_strategy.hpp index 6ab30fb07..3a256bc2e 100644 --- a/src/amr/tagging/default_hybrid_tagger_strategy.hpp +++ b/src/amr/tagging/default_hybrid_tagger_strategy.hpp @@ -28,7 +28,7 @@ void DefaultHybridTaggerStrategy::tag(HybridModel& model, auto& By = model.state.electromag.B.getComponent(PHARE::core::Component::Y); auto& Bz = model.state.electromag.B.getComponent(PHARE::core::Component::Z); - auto& N = model.state.ions.density(); + auto& N = model.state.ions.chargeDensity(); double threshold = 0.1;