Skip to content

Commit

Permalink
Use an FPA instead of a RPA for sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Dec 18, 2009
1 parent 0da1fcc commit 113ea77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/harness.pir
Expand Up @@ -199,7 +199,8 @@ HELP
end_time = time
$N1 = end_time - start_time
print "Runtime: "
$P0 = new 'ResizablePMCArray'
$P0 = new 'FixedPMCArray'
$P0 = 1
$P0[0] = $N1
$S1 = sprintf "%.4f", $P0
print $S1
Expand Down

0 comments on commit 113ea77

Please sign in to comment.