From b949e52790f56259cbc91b4c3e868d07443cd0d4 Mon Sep 17 00:00:00 2001 From: Gabriel Vainer <67750020+vai9er@users.noreply.github.com> Date: Thu, 15 Dec 2022 08:32:42 +0000 Subject: [PATCH] resolve --- docs/lang/articles/advanced/data_oriented_class.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/lang/articles/advanced/data_oriented_class.md b/docs/lang/articles/advanced/data_oriented_class.md index 4103729d6a310..836bb15f82d4c 100644 --- a/docs/lang/articles/advanced/data_oriented_class.md +++ b/docs/lang/articles/advanced/data_oriented_class.md @@ -52,16 +52,9 @@ class MyClass: def allocate_temp(self, n): self.temp = ti.field(dtype = ti.i32, shape=n) - -<<<<<<< HEAD -======= -<<<<<<< HEAD a = MyClass() # creating an instance of Data-Oriented Class -======= a = MyClass() # creating an instance of Data-Oriented Class ->>>>>>> b62e12c10a27a2dd924c4e909976cdfe98a109ce ->>>>>>> f34c256ef7603137916bfd0e61eb454811a068bd # a.call_inc() cannot be called, because a.temp has not been allocated at this point a.allocate_temp(4) # [0 0 0 0] a.call_inc() # [1 1 1 1]