Skip to content

Commit

Permalink
fixed nasty typo
Browse files Browse the repository at this point in the history
  • Loading branch information
neworderofjamie committed Dec 3, 2024
1 parent 0182010 commit 87a4adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/genn/genn/code_generator/backendBase.cc
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ void buildStandardSynapseEnvironment(const BackendBase &backend, EnvironmentGrou
env.add(Uint32.addConst(), "num_batch", std::to_string(batchSize));
if(batchSize > 1) {
// Calculate batch offsets into pre and postsynaptic populations
env.add(Uint32.addConst(), "_prema_batch_offset", "preBatchOffset",
env.add(Uint32.addConst(), "_pre_batch_offset", "preBatchOffset",
{env.addInitialiser("const unsigned int preBatchOffset = $(num_pre) * $(batch);")});
env.add(Uint32.addConst(), "_post_batch_offset", "postBatchOffset",
{env.addInitialiser("const unsigned int postBatchOffset = $(num_post) * $(batch);")});
Expand Down

0 comments on commit 87a4adf

Please sign in to comment.