Skip to content

Commit beb2b96

Browse files
committed
update to 0.9.18
1 parent 0ba735d commit beb2b96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/crolog.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -768,12 +768,12 @@ RObject pl2r(term_t pl, CharacterVector& names, term_t& vars, List options)
768768
if(PL_is_integer(pl))
769769
return pl2r_integer(pl) ;
770770

771-
if(PL_is_float(pl))
772-
return pl2r_real(pl) ;
773-
774771
if(PL_is_string(pl))
775772
return pl2r_char(pl) ;
776773

774+
if(PL_is_float(pl))
775+
return pl2r_real(pl) ;
776+
777777
if(PL_is_atom(pl))
778778
return pl2r_symbol(pl) ;
779779

0 commit comments

Comments
 (0)