Skip to content
7 changes: 4 additions & 3 deletions Simulator/Edges/Neuro/AllNeuroEdges.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@ int AllNeuroEdges::edgSign(const edgeType type)
case EE:
return 1;
case ETYPE_UNDEF:
// TODO error.
return 0;
default:
return 0;
}

return 0;
// TODO: exception throw.
return 0; // default.
}

/// Prints SynapsesProps data to console.
Expand Down
2 changes: 1 addition & 1 deletion Simulator/Edges/Neuro/AllSynapsesDeviceFuncs_d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CUDA_CALLABLE int edgSign(edgeType t)
return 1;
}

return 0;
return 0; // TODO: exception throw.
}


Expand Down