Skip to content

Commit e15841a

Browse files
authored
Merge pull request #3433 from heplesser/astro_from_nest
Derive astrocyte_lr_1994 directly from Node
2 parents 253b2b6 + c5cc02c commit e15841a

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

models/astrocyte_lr_1994.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ nest::astrocyte_lr_1994::Buffers_::Buffers_( const Buffers_&, astrocyte_lr_1994&
328328
* ---------------------------------------------------------------- */
329329

330330
nest::astrocyte_lr_1994::astrocyte_lr_1994()
331-
: StructuralPlasticityNode()
331+
: Node()
332332
, P_()
333333
, S_( P_ )
334334
, B_( *this )
@@ -337,7 +337,7 @@ nest::astrocyte_lr_1994::astrocyte_lr_1994()
337337
}
338338

339339
nest::astrocyte_lr_1994::astrocyte_lr_1994( const astrocyte_lr_1994& n )
340-
: StructuralPlasticityNode( n )
340+
: Node( n )
341341
, P_( n.P_ )
342342
, S_( n.S_ )
343343
, B_( n.B_, *this )

models/astrocyte_lr_1994.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ EndUserDocs */
248248

249249
void register_astrocyte_lr_1994( const std::string& name );
250250

251-
class astrocyte_lr_1994 : public StructuralPlasticityNode
251+
class astrocyte_lr_1994 : public Node
252252
{
253253

254254
public:
@@ -471,7 +471,6 @@ astrocyte_lr_1994::get_status( DictionaryDatum& d ) const
471471
{
472472
P_.get( d );
473473
S_.get( d );
474-
StructuralPlasticityNode::get_status( d );
475474

476475
( *d )[ names::recordables ] = recordablesMap_.get_list();
477476
}
@@ -488,7 +487,6 @@ astrocyte_lr_1994::set_status( const DictionaryDatum& d )
488487
// write them back to (P_, S_) before we are also sure that
489488
// the properties to be set in the parent class are internally
490489
// consistent.
491-
StructuralPlasticityNode::set_status( d );
492490

493491
// if we get here, temporaries contain consistent set of properties
494492
P_ = ptmp;

pynest/examples/astrocytes/astrocyte_brunel_fixed_indegree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def run_simulation():
315315
# NEST configuration
316316
nest.ResetKernel()
317317
nest.resolution = sim_params["dt"]
318-
nest.local_num_threads = sim_params["n_threads"]
318+
nest.local_num_threads = sim_params["n_vp"]
319319
nest.print_time = True
320320
nest.overwrite_files = True
321321

0 commit comments

Comments
 (0)