Skip to content

Instantly share code, notes, and snippets.

@jkvor
Created February 12, 2010 01:35
Show Gist options
  • Save jkvor/302214 to your computer and use it in GitHub Desktop.
Save jkvor/302214 to your computer and use it in GitHub Desktop.
--- t.erl 2010-02-11 17:34:00.000000000 -0800
+++ t2.erl 2010-02-11 17:33:54.000000000 -0800
@@ -35,7 +35,7 @@
%% Description: Initiates the server
%%--------------------------------------------------------------------
init([]) ->
- {ok, 0}.
+ {ok, 0.0}.
%%--------------------------------------------------------------------
%% Function: %% handle_call(Request, From, State) -> {reply, Reply, State} |
@@ -85,4 +85,4 @@
%% Description: Convert process state when code is changed
%%--------------------------------------------------------------------
code_change(_OldVsn, State, _Extra) ->
- {ok, State}.
+ {ok, State + 0.0}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment