Skip to content

Commit

Permalink
Fix single-float literal
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak committed Oct 24, 2024
1 parent 56e08a8 commit 3855d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lisp/cando/dynamics.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Methods are specialized on this class in cando-nglview.lisp."))
"Convert coordinates into a vector of single-floats and append it to accumulated-coordinates"
(let ((single-float-coordinates (make-array (length coordinates) :element-type 'single-float :adjustable nil)))
(loop for index from 0 below (length coordinates)
for sf-val = (float (elt coordinates index) 1.0s0)
for sf-val = (float (elt coordinates index) 1.0f0)
do (setf (elt single-float-coordinates index) sf-val))
(vector-push-extend single-float-coordinates (accumulated-coordinates simulation))))

Expand Down

0 comments on commit 3855d10

Please sign in to comment.