mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
Removed warnings
This commit is contained in:
parent
3f7fb99f58
commit
532702f7fb
43 changed files with 191 additions and 142 deletions
|
|
@ -54,6 +54,7 @@ QString Virtual::TypeToString(Virtual::Type type)
|
|||
case Type::Line: return "Line";
|
||||
case Type::Last: return "Invalid";
|
||||
}
|
||||
return "Invalid";
|
||||
}
|
||||
|
||||
Virtual::Type Virtual::TypeFromString(QString s)
|
||||
|
|
@ -718,6 +719,7 @@ Line::Line()
|
|||
|
||||
Sparam Line::toSparam(double freq)
|
||||
{
|
||||
Q_UNUSED(freq)
|
||||
Sparam ret;
|
||||
ret.m11 = numeric_limits<complex<double>>::quiet_NaN();
|
||||
ret.m12 = numeric_limits<complex<double>>::quiet_NaN();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue