Skip to content

Commit 02537e7

Browse files
committed
Remove unused function
1 parent 3b6b56b commit 02537e7

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

nestkernel/connection_manager.cpp

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -488,32 +488,6 @@ nest::ConnectionManager::connect( NodeCollectionPTR sources,
488488
}
489489

490490

491-
void
492-
nest::ConnectionManager::connect( TokenArray sources, TokenArray targets, const DictionaryDatum& syn_spec )
493-
{
494-
// Get synapse id
495-
size_t syn_id = 0;
496-
auto synmodel = syn_spec->lookup( names::model );
497-
if ( not synmodel.empty() )
498-
{
499-
const std::string synmodel_name = getValue< std::string >( synmodel );
500-
// The following throws UnknownSynapseType for invalid synmodel_name
501-
syn_id = kernel().model_manager.get_synapse_model_id( synmodel_name );
502-
}
503-
// Connect all sources to all targets
504-
for ( auto&& source : sources )
505-
{
506-
auto source_node = kernel().node_manager.get_node_or_proxy( source );
507-
for ( auto&& target : targets )
508-
{
509-
auto target_node = kernel().node_manager.get_node_or_proxy( target );
510-
auto target_thread = target_node->get_thread();
511-
connect_( *source_node, *target_node, source, target_thread, syn_id, syn_spec );
512-
}
513-
}
514-
}
515-
516-
517491
void
518492
nest::ConnectionManager::update_delay_extrema_()
519493
{

nestkernel/connection_manager.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ class ConnectionManager : public ManagerInterface
125125
const DictionaryDatum& conn_spec,
126126
const std::vector< DictionaryDatum >& syn_specs );
127127

128-
void connect( TokenArray sources, TokenArray targets, const DictionaryDatum& syn_spec );
129-
130128
/**
131129
* Connect two nodes.
132130
*

0 commit comments

Comments
 (0)