Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
60e0e72b
Commit
60e0e72b
authored
Sep 29, 2017
by
Jonathan Wilkes
Browse files
workaround for another unrecognized instruction on arm with valgrind
parent
2aee81c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
externals/mjlib/pin~.c
View file @
60e0e72b
...
@@ -103,7 +103,7 @@ static void *pin_tilde_new(t_floatarg prob , t_floatarg tick)
...
@@ -103,7 +103,7 @@ static void *pin_tilde_new(t_floatarg prob , t_floatarg tick)
prob
=
0
.
5
;
prob
=
0
.
5
;
}
}
x
->
p_prob
=
prob
;
x
->
p_prob
=
prob
;
x
->
p_normalized_prob
=
prob
*
RAND_MAX
;
x
->
p_normalized_prob
=
(
int
)((
double
)
prob
*
(
double
)
RAND_MAX
)
;
// set up our clocks
// set up our clocks
x
->
p_ticktime
=
tick
;
x
->
p_ticktime
=
tick
;
x
->
p_clock
=
clock_new
(
x
,
(
t_method
)
pin_tilde_tick
);
x
->
p_clock
=
clock_new
(
x
,
(
t_method
)
pin_tilde_tick
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment