Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
htm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
OmegaCEN
htm
Commits
f13a4273
Commit
f13a4273
authored
18 years ago
by
Kor Begeman
Browse files
Options
Downloads
Patches
Plain Diff
Increase of buffer since more than 12 neighbours might ber returned
parent
1dbc0621
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/htm.cpp
+2
-1
2 additions, 1 deletion
python/htm.cpp
with
2 additions
and
1 deletion
python/htm.cpp
+
2
−
1
View file @
f13a4273
...
...
@@ -455,7 +455,7 @@ htm_list get_nearest_indices( unsigned long long id, int depth )
htm
=
new
htmInterface
(
depth
);
}
htm_list
r
;
static
unsigned
long
long
idx
[
13
];
static
unsigned
long
long
idx
[
13
00
];
r
.
n
=
13
;
r
.
idx
=
idx
;
SpatialVector
v1
,
v2
,
v3
;
...
...
@@ -476,6 +476,7 @@ htm_list get_nearest_indices( unsigned long long id, int depth )
}
htm_list
rr
=
get_circle_indices
(
depth
,
depth
,
1
,
ra0
,
dec0
,
1.01
*
md
);
for
(
k
=
0
;
k
<
rr
.
n
;
k
++
)
idx
[
k
]
=
rr
.
idx
[
k
];
r
.
n
=
rr
.
n
;
#else
int
k
;
int
j
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment