Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch.github.io.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/02-developer-docs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/02-developer-docs.md b/docs/02-developer-docs.md
index 4998748..73a2c53 100644
--- a/docs/02-developer-docs.md
+++ b/docs/02-developer-docs.md
@@ -117,7 +117,7 @@ Here is an empty holder for a typical new class:
local NewClass, Parent = torch.class('nn.NewClass', 'nn.Module')
function NewClass:__init()
- parent.__init(self)
+ Parent.__init(self)
end
function NewClass:updateOutput(input)