{"action":"created","issue":{"url":"https://api.github.com/repos/honeyext/cdtw/issues/4","labels_url":"https://api.github.com/repos/honeyext/cdtw/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/honeyext/cdtw/issues/4/comments","events_url":"https://api.github.com/repos/honeyext/cdtw/issues/4/events","html_url":"https://github.com/honeyext/cdtw/issues/4","id":111598252,"number":4,"title":"Different distances when compute_path=True/False?","user":{"login":"johanneshk","id":9724338,"avatar_url":"https://avatars.githubusercontent.com/u/9724338?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneshk","html_url":"https://github.com/johanneshk","followers_url":"https://api.github.com/users/johanneshk/followers","following_url":"https://api.github.com/users/johanneshk/following{/other_user}","gists_url":"https://api.github.com/users/johanneshk/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneshk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneshk/subscriptions","organizations_url":"https://api.github.com/users/johanneshk/orgs","repos_url":"https://api.github.com/users/johanneshk/repos","events_url":"https://api.github.com/users/johanneshk/events{/privacy}","received_events_url":"https://api.github.com/users/johanneshk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-15T11:31:44Z","updated_at":"2015-10-16T09:05:06Z","closed_at":"2015-10-16T09:05:06Z","body":"Hi!\r\n\r\nI don't understand the following behavior (code adapted from examples nb):\r\n```\r\nimport numpy as np\r\nimport pydtw\r\nt = np.arange(0,3*np.pi,0.2)\r\nr = np.sin(t)\r\nq = np.cos(1.2*t+1) + np.sin(t)\r\nprint(pydtw.dtw(r,q,pydtw.Settings(dist = 'manhattan', step  = 'dp2', window = 'nowindow', compute_path = True)).get_dist())\r\nprint(pydtw.dtw(r,q,pydtw.Settings(dist = 'manhattan', step  = 'dp2', window = 'nowindow', compute_path = False)).get_dist())\r\n```\r\nOutput:\r\n```\r\n12.37014033416319\r\n11.829838028295049\r\n```\r\nWhy do I get different distance when setting compute_path to True or False? Shouldn't the distances be the same regardless (maybe I'm missing something...)?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/honeyext/cdtw/issues/comments/148660943","html_url":"https://github.com/honeyext/cdtw/issues/4#issuecomment-148660943","issue_url":"https://api.github.com/repos/honeyext/cdtw/issues/4","id":148660943,"user":{"login":"johanneshk","id":9724338,"avatar_url":"https://avatars.githubusercontent.com/u/9724338?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneshk","html_url":"https://github.com/johanneshk","followers_url":"https://api.github.com/users/johanneshk/followers","following_url":"https://api.github.com/users/johanneshk/following{/other_user}","gists_url":"https://api.github.com/users/johanneshk/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneshk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneshk/subscriptions","organizations_url":"https://api.github.com/users/johanneshk/orgs","repos_url":"https://api.github.com/users/johanneshk/repos","events_url":"https://api.github.com/users/johanneshk/events{/privacy}","received_events_url":"https://api.github.com/users/johanneshk/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T09:05:06Z","updated_at":"2015-10-16T09:05:06Z","body":"Yes, at least now I get the same distances ;) . I really like this project as it seems to be the most complete and convenient pydtw library. So thank you for your work."}}