Commit ffd38e8a authored by Markus Mirz's avatar Markus Mirz
Browse files

fix node constructor for name and uid

parent 67e0acee
......@@ -36,7 +36,7 @@ namespace CPS {
static Ptr GND;
/// This very general constructor is used by other constructors.
SimNode(String name, String uid, std::vector<UInt> matrixNodeIndex,
SimNode(String uid, String name, std::vector<UInt> matrixNodeIndex,
PhaseType phaseType, std::vector<Complex> initialVoltage);
/// Create ground node if no parameters are given.
SimNode(PhaseType phaseType = PhaseType::Single);
......
......@@ -11,7 +11,7 @@
using namespace CPS;
template <typename VarType>
SimNode<VarType>::SimNode(String name, String uid,
SimNode<VarType>::SimNode(String uid, String name,
std::vector<UInt> matrixNodeIndex, PhaseType phaseType, std::vector<Complex> initialVoltage)
: TopologicalNode(uid, name, phaseType, initialVoltage) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment