diff options
Diffstat (limited to 'Project/Inductor.cpp')
-rw-r--r-- | Project/Inductor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Inductor.cpp b/Project/Inductor.cpp index b9a3da6..b169f8a 100644 --- a/Project/Inductor.cpp +++ b/Project/Inductor.cpp @@ -174,7 +174,7 @@ wxString Inductor::GetTipText() const if(!m_online) reactivePower = 0.0; else { - std::complex<double> v = static_cast<Bus*>(m_parentList[0])->GetEletricalData().voltage; + std::complex<double> v = static_cast<Bus*>(m_parentList[0])->GetElectricalData().voltage; reactivePower *= std::pow(std::abs(v), 2); } tipText += "\n"; |